-
Notifications
You must be signed in to change notification settings - Fork 25
/
rest.go
56 lines (54 loc) · 2.26 KB
/
rest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright 2015-present, Cyrill @ Schumacher.fm and the CoreStore contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package customer
//@todo routes to implement GH Issue#1
//GET /V1/customerGroups/:id
//GET /V1/customerGroups/default/:storeId
//GET /V1/customerGroups/default
//GET /V1/customerGroups/:id/permissions
//GET /V1/customerGroups/search
//POST /V1/customerGroups
//PUT /V1/customerGroups/:id
//DELETE /V1/customerGroups/:id
//GET /V1/attributeMetadata/customer/attribute/:attributeCode
//GET /V1/attributeMetadata/customer/form/:formCode
//GET /V1/attributeMetadata/customer
//GET /V1/attributeMetadata/customer/custom
//GET /V1/attributeMetadata/customerAddress/attribute/:attributeCode
//GET /V1/attributeMetadata/customerAddress/form/:formCode
//GET /V1/attributeMetadata/customerAddress
//GET /V1/attributeMetadata/customerAddress/custom
//GET /V1/customers/:customerId
//POST /V1/customers
//PUT /V1/customers/:id
//PUT /V1/customers/me
//GET /V1/customers/me
//PUT /V1/customers/me/activate
//GET /V1/customers/search
//PUT /V1/customers/:email/activate
//PUT /V1/customers/me/password
//GET /V1/customers/:customerId/password/resetLinkToken/:resetPasswordLinkToken
//PUT /V1/customers/password
//GET /V1/customers/:customerId/confirm
//POST /V1/customers/confirm
//PUT /V1/customers/validate
//GET /V1/customers/:customerId/permissions/readonly
//DELETE /V1/customers/:customerId
//POST /V1/customers/isEmailAvailable
//GET /V1/customers/addresses/:addressId
//GET /V1/customers/me/billingAddress
//GET /V1/customers/:customerId/billingAddress
//GET /V1/customers/me/shippingAddress
//GET /V1/customers/:customerId/shippingAddress
//DELETE /V1/addresses/:addressId