1. Overview
These services manage all of the common commerce functionality, and also include customizations from installed AddOns. The implementing extension is called commercewebservices.
1.1. Version information
Version : 2.2.1
1.2. License information
License : Use of this file is subject to the terms of your agreement with SAP SE or its affiliates respecting the use of the SAP product for which this file relates.
Terms of service : null
1.3. URI scheme
Host : localhost:9002
BasePath : /occ/v2
1.4. Tags
-
Address : Address Controller
-
Assets : Asset Controller
-
Base Sites : Base Sites Controller
-
Base Stores : Base Stores Controller
-
Bills : Bill Controller
-
CEA Bundles : PS Configurable Bundles Controller
-
CEA Miscs : Misc Controller
-
CEA Relationship Bills : Relationship Bill Controller
-
CEA Relationship Orders : Relationship Order Controller
-
Cart Addresses : Cart Addresses Controller
-
Cart Delivery Modes : Cart Delivery Modes Controller
-
Cart Entries : Cart Entries Controller
-
Cart Entry Groups : Cart Entry Groups Controller
-
Cart Payments : Cart Payments Controller
-
Cart Promotions : Cart Promotions Controller
-
Carts : Carts Controller
-
Catalogs : Catalogs Controller
-
Components : Component Controller
-
Consents : Consents Controller
-
Countries : Countries Controller
-
Customer Groups : Customer Groups Controller
-
Export : Export Controller
-
Extended Carts : Extended Carts Controller
-
Feeds : Feeds Controller
-
Forgotten Passwords : Forgotten Passwords Controller
-
Future Stocks : Future Stocks Controller
-
Login Notification : Login Notification Controller
-
Merchant Callback : Merchant Callback Controller
-
Miscs : Miscs Controller
-
Orders : Orders Controller
-
Pages : Page Controller
-
Payment Details : Payment Details Controller
-
Payment Modes : Payment Modes Controller
-
Permissions : Permission Controller
-
Product Configurator Orbeon Template : Service Product Configurator Orbeon Template Controller
-
Products : Products Controller
-
Promotions : Promotions Controller
-
Relationships : Relationship Controller
-
Return Requests : Order Returns Controller
-
Save Cart : Save Cart Controller
-
Service Request : Service Request Controller
-
Stores : Stores Controller
-
Users : Users Controller
-
Vouchers : Vouchers Controller
1.5. Produces
-
application/xml -
application/json
2. Paths
2.1. Get all base sites.
GET /basesites
2.1.1. Description
Get all base sites with corresponding base stores details in FULL mode.
2.1.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.1.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.1.4. Tags
-
Base Sites
2.1.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.2. Get a base store.
GET /{baseSiteId}/basestores/{baseStoreUid}
2.2.1. Description
Returns details of a specific base store based on its identifier. The response contains detailed base store information.
2.2.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
baseStoreUid |
Base store name |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.2.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.2.4. Tags
-
Base Stores
2.2.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.3. Get a list of supported payment card types.
GET /{baseSiteId}/cardtypes
2.3.1. Description
Lists supported payment card types.
2.3.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.3.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.3.4. Tags
-
Miscs
2.3.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.4. Get a list of catalogs
GET /{baseSiteId}/catalogs
2.4.1. Description
Returns all catalogs with versions defined for the base store.
2.4.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.4.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.4.4. Tags
-
Catalogs
2.4.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.5. Get a catalog
GET /{baseSiteId}/catalogs/{catalogId}
2.5.1. Description
Returns information about a catalog based on its ID, along with the versions defined for the current base store.
2.5.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
catalogId |
Catalog identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.5.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.5.4. Tags
-
Catalogs
2.5.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.6. Get information about catalog version
GET /{baseSiteId}/catalogs/{catalogId}/{catalogVersionId}
2.6.1. Description
Returns information about the catalog version that exists for the current base store.
2.6.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
catalogId |
Catalog identifier |
string |
|
Path |
catalogVersionId |
Catalog version identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.6.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.6.4. Tags
-
Catalogs
2.6.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.7. Get information about catagory in a catalog version
GET /{baseSiteId}/catalogs/{catalogId}/{catalogVersionId}/categories/{categoryId}
2.7.1. Description
Returns information about a specified category that exists in a catalog version available for the current base store.
2.7.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
catalogId |
Catalog identifier |
string |
|
Path |
catalogVersionId |
Catalog version identifier |
string |
|
Path |
categoryId |
Category identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.7.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.7.4. Tags
-
Catalogs
2.7.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.8. Get components' data by id given in body
POST /{baseSiteId}/cms/components
|
Caution
|
operation.deprecated |
2.8.1. Description
Given a list of component identifiers in body, return cms component data.
2.8.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
catalogCode |
Catalog code |
string |
|
Query |
categoryCode |
Category code |
string |
|
Query |
currentPage |
Optional pagination parameter. Default value 0. |
integer (int32) |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
Query |
pageSize |
Optional pagination parameter. Default value 10. |
integer (int32) |
|
Query |
productCode |
Product code |
string |
|
Query |
sort |
Optional sort criterion. No default value. |
string |
|
Body |
componentIdList |
List of Component identifiers |
2.8.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.8.4. Consumes
-
application/json
2.8.5. Tags
-
Components
2.8.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.9. Get component data
GET /{baseSiteId}/cms/components
2.9.1. Description
Finds cms components by the specified IDs. When none is provided, this will retrieve all components The components list will be filtered by the given catalog, product or category restrictions, as well as by the pagination information. The result will be sorted in the specified order.
2.9.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
catalogCode |
Catalog code |
string |
|
Query |
categoryCode |
Category code |
string |
|
Query |
componentIds |
List of Component identifiers |
< string > array(multi) |
|
Query |
currentPage |
Optional pagination parameter. Default value 0. |
integer (int32) |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
Query |
pageSize |
Optional pagination parameter. Default value 10. |
integer (int32) |
|
Query |
productCode |
Product code |
string |
|
Query |
sort |
Optional sort criterion. No default value. |
string |
2.9.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.9.4. Tags
-
Components
2.9.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.10. Get component data by id
GET /{baseSiteId}/cms/components/{componentId}
2.10.1. Description
Given a component identifier, return cms component data.
2.10.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
componentId |
Component identifier |
string |
|
Query |
catalogCode |
Catalog code |
string |
|
Query |
categoryCode |
Category code |
string |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
Query |
productCode |
Product code |
string |
2.10.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.10.4. Tags
-
Components
2.10.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.11. Get page data with a list of cms content slots
GET /{baseSiteId}/cms/pages
2.11.1. Description
Get page data with a list of cms content slots based on pageLabelOrId or code. If none is provided then this will retrieve a Homepage cms content slots. Content pages can be filtered by pageLabelOrId while the rest of the page types can be filtered by the code.
2.11.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
code |
If pageType is ProductPage, code should be product code; if pageType is CategoryPage, code should be category code; if pageType is CatalogPage, code should be catalog code |
string |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
Query |
pageLabelOrId |
Page Label or Id; if no page has a label that matches the provided label exactly, try to find pages whose label starts with a section of the provided label. Otherwise, try to find the page by id. Note: URL encoding on the page label should be applied when the label contains special characters |
string |
|
Query |
pageType |
Page type |
enum (ContentPage, ProductPage, CategoryPage, CatalogPage) |
|
2.11.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.11.4. Tags
-
Pages
2.11.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.12. Get page data for specific page id with a list of cms content slots
GET /{baseSiteId}/cms/pages/{pageId}
2.12.1. Description
Given a page identifier, return the page data with a list of cms content slots, each of which contains a list of cms component data.
2.12.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
pageId |
Page Id |
string |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
2.12.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.12.4. Tags
-
Pages
2.12.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.13. Get a list of page data.
GET /{baseSiteId}/cms/sitepages
2.13.1. Description
Get a list page data with pagination support.
2.13.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
currentPage |
Pagination parameter. Default value 0. |
integer (int32) |
|
Query |
fields |
Response configuration (list of fields, which should be returned in response) |
enum (BASIC, DEFAULT, FULL) |
|
Query |
pageSize |
Optional pagination parameter. Default value 10. |
integer (int32) |
|
Query |
pageType |
Page type. |
enum (ContentPage, ProductPage, CategoryPage, CatalogPage) |
|
Query |
sort |
Optional sort criterion. No default value. |
string |
2.13.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.13.4. Tags
-
Pages
2.13.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.14. Get a list of countries.
GET /{baseSiteId}/countries
2.14.1. Description
If the value of type equals to shipping, then return shipping countries. If the value of type equals to billing, then return billing countries. If the value of type is not given, return all countries. The list is sorted alphabetically.
2.14.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
type |
The type of countries. |
enum (SHIPPING, BILLING) |
2.14.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.14.4. Tags
-
Countries
2.14.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.15. Fetch the list of regions for the provided country.
GET /{baseSiteId}/countries/{countyIsoCode}/regions
2.15.1. Description
Lists all regions.
2.15.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
countyIsoCode |
An ISO code for a country |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.15.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.15.4. Tags
-
Countries
2.15.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.16. Get a list of available currencies.
GET /{baseSiteId}/currencies
2.16.1. Description
Lists all available currencies (all usable currencies for the current store). If the list of currencies for a base store is empty, a list of all currencies available in the system is returned.
2.16.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.16.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.16.4. Tags
-
Miscs
2.16.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.17. Creates a new customer group.
POST /{baseSiteId}/customergroups
2.17.1. Description
Creates a new customer group that is a direct subgroup of a customergroup.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.17.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Body |
userGroup |
User group object with id and name. |
2.17.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.17.4. Consumes
-
application/xml -
application/json
2.17.5. Tags
-
Customer Groups
2.17.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.18. Get all subgroups of a customergroup.
GET /{baseSiteId}/customergroups
2.18.1. Description
Returns all customer groups that are direct subgroups of a customergroup.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.18.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
currentPage |
Current page number (starts with 0). |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
Number of customer group returned in one page. |
integer (int32) |
|
2.18.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.18.4. Tags
-
Customer Groups
2.18.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.19. Get a specific customer group.
GET /{baseSiteId}/customergroups/{groupId}
2.19.1. Description
Returns a customer group with a specific groupId.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.19.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
groupId |
Group identifier. |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.19.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.19.4. Tags
-
Customer Groups
2.19.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.20. Sets members for a user group.
PUT /{baseSiteId}/customergroups/{groupId}/members
2.20.1. Description
Sets members for a user group. The list of existing members is overwritten with a new one.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.20.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
groupId |
Group identifier. |
string |
Body |
members |
List of users to set for customer group. |
2.20.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.20.4. Consumes
-
application/xml -
application/json
2.20.5. Tags
-
Customer Groups
2.20.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.21. Assigns user(s) to a customer group.
PATCH /{baseSiteId}/customergroups/{groupId}/members
2.21.1. Description
Assigns user(s) to a customer group.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.21.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
groupId |
Group identifier. |
string |
Body |
members |
List of users to assign to customer group. |
2.21.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.21.4. Consumes
-
application/xml -
application/json
2.21.5. Tags
-
Customer Groups
2.21.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.22. Deletes a user from a customer group.
DELETE /{baseSiteId}/customergroups/{groupId}/members/{userId}
2.22.1. Description
Deletes user from a customer group.
To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”.
2.22.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
groupId |
Group identifier. |
string |
Path |
userId |
User identifier. |
string |
2.22.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.22.4. Tags
-
Customer Groups
2.22.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.23. Get a list of shipping countries.
GET /{baseSiteId}/deliverycountries
|
Caution
|
operation.deprecated |
2.23.1. Description
Lists all supported delivery countries for the current store. The list is sorted alphabetically.
2.23.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.23.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.23.4. Tags
-
Miscs
2.23.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.24. Get a list of product exports.
GET /{baseSiteId}/export/products
2.24.1. Description
Used for product export. Depending on the timestamp parameter, it can return all products or only products modified after the given time.
2.24.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
catalog |
The catalog to retrieve products from. The catalog must be provided along with the version. |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
timestamp |
When this parameter is set, only products modified after the given time will be returned. This parameter should be in ISO-8601 format (for example, 2018-01-09T16:28:45+0000). |
string |
|
Query |
version |
The catalog version. The catalog version must be provided along with the catalog. |
string |
2.24.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.24.4. Tags
-
Export
2.24.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.25. Get a list of orders with status updates.
GET /{baseSiteId}/feeds/orders/statusfeed
2.25.1. Description
Returns the orders that have changed status. Returns only the elements from the current baseSite that have been updated after the provided timestamp.
2.25.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
timestamp |
Only items newer than the given parameter are retrieved. This parameter should be in ISO-8601 format (for example, 2018-01-09T16:28:45+0000). |
string |
2.25.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.25.4. Tags
-
Feeds
2.25.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.26. Generates a token to restore a customer’s forgotten password.
POST /{baseSiteId}/forgottenpasswordtokens
2.26.1. Description
Generates a token to restore a customer’s forgotten password.
2.26.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Query |
userId |
Customer’s user id. Customer user id is case insensitive. |
string |
2.26.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
202 |
Accepted |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.26.4. Consumes
-
application/json
2.26.5. Tags
-
Forgotten Passwords
2.26.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.27. Verify the decision of the Merchant
POST /{baseSiteId}/integration/merchant_callback
2.27.1. Description
Verifies the decision of the merchant.
Note, the “Try it out” button is not enabled for this method (always returns an error) because the Merchant Callback Controller handles parameters differently, depending on which payment provider is used. For more information about this controller, please refer to the “acceleratorocc AddOn” documentation on help.hybris.com.
2.27.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
2.27.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.27.4. Consumes
-
application/json
2.27.5. Tags
-
Merchant Callback
2.27.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.28. Verify the decision of the Merchant for a cart
POST /{baseSiteId}/integration/users/{userId}/carts/{cartId}/payment/sop/response
2.28.1. Description
Verifies the decision of the merchant for a specified cart, and stores information of the PaymentSubscriptionResult for the cart.
Note, the “Try it out” button is not enabled for this method (always returns an error) because the Merchant Callback Controller handles parameters differently, depending on which payment provider is used. For more information about this controller, please refer to the “acceleratorocc AddOn” documentation on help.hybris.com.
2.28.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.28.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.28.4. Consumes
-
application/json
2.28.5. Tags
-
Merchant Callback
2.28.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.29. Get a list of available languages.
GET /{baseSiteId}/languages
2.29.1. Description
Lists all available languages (all languages used for a particular store). If the list of languages for a base store is empty, a list of all languages available in the system will be returned.
2.29.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.29.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.29.4. Tags
-
Miscs
2.29.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.30. Get a order.
GET /{baseSiteId}/orders/{code}
2.30.1. Description
Returns details of a specific order based on the order GUID (Globally Unique Identifier) or the order CODE. The response contains detailed order information.
2.30.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Order GUID (Globally Unique Identifier) or order CODE |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.30.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.30.4. Tags
-
Orders
2.30.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.31. Gets all available payment modes.
GET /{baseSiteId}/paymentmodes
2.31.1. Description
Gets all payment modes defined for the base store.
2.31.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.31.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.31.4. Tags
-
Payment Modes
2.31.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.32. Get products added to the express update feed.
GET /{baseSiteId}/products/expressupdate
2.32.1. Description
Returns products added to the express update feed. Returns only elements updated after the provided timestamp. The queue is cleared using a defined cronjob.
2.32.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
catalog |
Only products from this catalog are returned. Format: catalogId:catalogVersion |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
timestamp |
Only items newer than the given parameter are retrieved from the queue. This parameter should be in ISO-8601 format. |
string |
2.32.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.32.4. Tags
-
Products
2.32.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.33. Get a list of products and additional data
GET /{baseSiteId}/products/search
2.33.1. Description
Returns a list of products and additional data, such as available facets, available sorting, and pagination options. It can also include spelling suggestions. To make spelling suggestions work, you need to make sure that "enableSpellCheck" on the SearchQuery is set to "true" (by default, it should already be set to "true"). You also need to have indexed properties configured to be used for spellchecking.
2.33.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
query |
Serialized query, free text search, facets. The format of a serialized query: freeTextSearch:sort:facetKey1:facetValue1:facetKey2:facetValue2 |
string |
|
Query |
searchQueryContext |
The context to be used in the search query. |
string |
|
Query |
sort |
Sorting method applied to the return results. |
string |
2.33.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.33.4. Tags
-
Products
2.33.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.34. Get a header with total number of products.
HEAD /{baseSiteId}/products/search
2.34.1. Description
In the response header, the "x-total-count" indicates the total number of products satisfying a query.
2.34.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Query |
query |
Serialized query, free text search, facets. The format of a serialized query: freeTextSearch:sort:facetKey1:facetValue1:facetKey2:facetValue2 |
string |
2.34.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.34.4. Consumes
-
application/json
2.34.5. Tags
-
Products
2.34.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.35. Get a list of available suggestions
GET /{baseSiteId}/products/suggestions
2.35.1. Description
Returns a list of all available suggestions related to a given term and limits the results to a specific value of the max parameter.
2.35.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
max |
Specifies the limit of results. |
integer (int32) |
|
Query |
term |
Specified term |
string |
2.35.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.35.4. Tags
-
Products
2.35.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.36. Get product details.
GET /{baseSiteId}/products/{productCode}
2.36.1. Description
Returns details of a single product according to a product code.
2.36.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.36.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.36.4. Tags
-
Products
2.36.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.37. Get a product reference
GET /{baseSiteId}/products/{productCode}/references
2.37.1. Description
Returns references for a product with a given product code. Reference type specifies which references to return.
2.37.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
Maximum size of returned results. |
integer (int32) |
|
Query |
referenceType |
Comma-separated list of reference types according to enum ProductReferenceTypeEnum. If not specified, all types of product references will be used. |
string |
2.37.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.37.4. Tags
-
Products
2.37.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.38. Creates a new customer review as an anonymous user.
POST /{baseSiteId}/products/{productCode}/reviews
2.38.1. Description
Creates a new customer review as an anonymous user.
2.38.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
review |
Object contains review details like : rating, alias, headline, comment |
2.38.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.38.4. Consumes
-
application/xml -
application/json
2.38.5. Tags
-
Products
2.38.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.39. Get reviews for a product
GET /{baseSiteId}/products/{productCode}/reviews
2.39.1. Description
Returns the reviews for a product with a given product code.
2.39.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
maxCount |
Maximum count of reviews |
integer (int32) |
2.39.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.39.4. Tags
-
Products
2.39.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.40. Get a product’s stock level.
GET /{baseSiteId}/products/{productCode}/stock
2.40.1. Description
Returns a product’s stock levels sorted by distance from the specified location, which is provided using the free-text "location" parameter, or by using the longitude and latitude parameters. The following two sets of parameters are available: location (required), currentPage (optional), pageSize (optional); or longitude (required), latitude (required), currentPage (optional), pageSize(optional).
2.40.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
latitude |
Latitude location parameter. |
number (double) |
|
Query |
location |
Free-text location |
string |
|
Query |
longitude |
Longitude location parameter. |
number (double) |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
2.40.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.40.4. Tags
-
Products
2.40.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.41. Get header with a total number of product’s stock levels.
HEAD /{baseSiteId}/products/{productCode}/stock
2.41.1. Description
In the response header, the "x-total-count" indicates the total number of a product’s stock levels. The following two sets of parameters are available: location (required); or longitude (required), and latitude (required).
2.41.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
productCode |
Product identifier |
string |
Query |
latitude |
Latitude location parameter. |
number (double) |
Query |
location |
Free-text location |
string |
Query |
longitude |
Longitude location parameter. |
number (double) |
2.41.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.41.4. Consumes
-
application/json
2.41.5. Tags
-
Products
2.41.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.42. Get a product’s stock level for a store
GET /{baseSiteId}/products/{productCode}/stock/{storeName}
2.42.1. Description
Returns a product’s stock level for a particular store (in other words, for a particular point of sale).
2.42.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Path |
storeName |
Store identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.42.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.42.4. Tags
-
Products
2.42.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.43. Get a list of promotions.
GET /{baseSiteId}/promotions
2.43.1. Description
Returns promotions defined for a current base site. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers and therefore some of them are currently not compatible with the new promotion engine.
2.43.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
promotionGroup |
Only promotions from this group are returned |
string |
|
Query |
type |
Defines what type of promotions should be returned. Values supported for that parameter are: <ul><li>all: All available promotions are returned</li><li>product: Only product promotions are returned</li><li>order: Only order promotions are returned</li></ul> |
enum (all, product, order) |
2.43.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.43.4. Tags
-
Promotions
2.43.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.44. Get a promotion based on code
GET /{baseSiteId}/promotions/{code}
2.44.1. Description
Returns details of a single promotion specified by a promotion code. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers and therefore some of them are currently not compatible with the new promotion engine.
2.44.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Promotion identifier (code) |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.44.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.44.4. Tags
-
Promotions
2.44.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.45. Reset password after customer’s clicked forgotten password link.
POST /{baseSiteId}/resetpassword
2.45.1. Description
Reset password after customer’s clicked forgotten password link.
2.45.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Body |
resetPassword |
Request body parameter that contains details such as token and new password |
2.45.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
202 |
Accepted |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.45.4. Consumes
-
application/xml -
application/json
2.45.5. Tags
-
Forgotten Passwords
2.45.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.46. Get a list of store locations
GET /{baseSiteId}/stores
2.46.1. Description
Lists all store locations that are near the location specified in a query or based on latitude and longitude.
2.46.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
accuracy |
Accuracy in meters. |
number (double) |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
latitude |
Coordinate that specifies the north-south position of a point on the Earth’s surface. |
number (double) |
|
Query |
longitude |
Coordinate that specifies the east-west position of a point on the Earth’s surface. |
number (double) |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
query |
Location in natural language i.e. city or country. |
string |
|
Query |
radius |
Radius in meters. Max value: 40075000.0 (Earth’s perimeter). |
number (double) |
|
Query |
sort |
Sorting method applied to the return results. |
string |
|
2.46.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.46.4. Tags
-
Stores
2.46.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.47. Get a header with the number of store locations.
HEAD /{baseSiteId}/stores
2.47.1. Description
In the response header, the "x-total-count" indicates the number of all store locations that are near the location specified in a query, or based on latitude and longitude.
2.47.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
accuracy |
Accuracy in meters. |
number (double) |
|
Query |
latitude |
Coordinate that specifies the north-south position of a point on the Earth’s surface. |
number (double) |
|
Query |
longitude |
Coordinate that specifies the east-west position of a point on the Earth’s surface. |
number (double) |
|
Query |
query |
Location in natural language i.e. city or country. |
string |
|
Query |
radius |
Radius in meters. Max value: 40075000.0 (Earth’s perimeter). |
number (double) |
|
2.47.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.47.4. Consumes
-
application/json
2.47.5. Tags
-
Stores
2.47.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.48. Get a list of store locations for a given country
GET /{baseSiteId}/stores/country/{countryIso}
2.48.1. Description
Lists all store locations that are in the specified country.
2.48.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
countryIso |
Country ISO code |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.48.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.48.4. Tags
-
Stores
2.48.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.49. Get a list of store locations for a given country and region
GET /{baseSiteId}/stores/country/{countryIso}/region/{regionIso}
2.49.1. Description
Lists all store locations that are in the specified country and region.
2.49.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
countryIso |
Country ISO code |
string |
|
Path |
regionIso |
Region ISO code |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.49.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.49.4. Tags
-
Stores
2.49.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.50. Gets a store location count per country and regions
GET /{baseSiteId}/stores/storescounts
2.50.1. Description
Returns store counts in countries and regions
2.50.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
2.50.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.50.4. Tags
-
Stores
2.50.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.51. Get a store location
GET /{baseSiteId}/stores/{storeId}
2.51.1. Description
Returns store location based on its unique name.
2.51.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
storeId |
Store identifier (currently store name) |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.51.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.51.4. Tags
-
Stores
2.51.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.52. Get a list of all localized titles.
GET /{baseSiteId}/titles
2.52.1. Description
Lists all localized titles.
2.52.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.52.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.52.4. Tags
-
Miscs
2.52.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.53. Registers a customer
POST /{baseSiteId}/users
2.53.1. Description
Registers a customer. Requires the following parameters: login, password, firstName, lastName, titleCode.
2.53.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
user |
User’s object. |
2.53.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.53.4. Consumes
-
application/xml -
application/json
2.53.5. Tags
-
Users
2.53.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.54. Get customer profile
GET /{baseSiteId}/users/{userId}
2.54.1. Description
Returns customer profile.
2.54.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.54.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.54.4. Tags
-
Users
2.54.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.55. Updates customer profile
PUT /{baseSiteId}/users/{userId}
2.55.1. Description
Updates customer profile. Attributes not provided in the request body will be defined again (set to null or default).
2.55.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
user |
User’s object |
2.55.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.55.4. Consumes
-
application/xml -
application/json
2.55.5. Tags
-
Users
2.55.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.56. Delete customer profile.
DELETE /{baseSiteId}/users/{userId}
2.56.1. Description
Removes customer profile.
2.56.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.56.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.56.4. Tags
-
Users
2.56.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.57. Updates customer profile
PATCH /{baseSiteId}/users/{userId}
2.57.1. Description
Updates customer profile. Only attributes provided in the request body will be changed.
2.57.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
user |
User’s object. |
2.57.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.57.4. Consumes
-
application/xml -
application/json
2.57.5. Tags
-
Users
2.57.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.58. Creates a new address.
POST /{baseSiteId}/users/{userId}/addresses
2.58.1. Description
Creates a new address.
2.58.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
address |
Address object. |
2.58.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.58.4. Consumes
-
application/xml -
application/json
2.58.5. Tags
-
Address
2.58.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.59. Get customer’s addresses
GET /{baseSiteId}/users/{userId}/addresses
2.59.1. Description
Returns customer’s addresses.
2.59.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.59.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.59.4. Tags
-
Address
2.59.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.60. Verifies address.
POST /{baseSiteId}/users/{userId}/addresses/verification
2.60.1. Description
Verifies address.
2.60.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
address |
Address object. |
2.60.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.60.4. Consumes
-
application/xml -
application/json
2.60.5. Tags
-
Address
2.60.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.61. Get info about address
GET /{baseSiteId}/users/{userId}/addresses/{addressId}
2.61.1. Description
Returns detailed information about address with a given id.
2.61.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
addressId |
Address identifier. |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.61.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.61.4. Tags
-
Address
2.61.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.62. Updates the address
PUT /{baseSiteId}/users/{userId}/addresses/{addressId}
2.62.1. Description
Updates the address. Attributes not provided in the request will be defined again (set to null or default).
2.62.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
addressId |
Address identifier. |
string |
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
address |
Address object. |
2.62.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.62.4. Consumes
-
application/xml -
application/json
2.62.5. Tags
-
Address
2.62.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.63. Delete customer’s address.
DELETE /{baseSiteId}/users/{userId}/addresses/{addressId}
2.63.1. Description
Removes customer’s address.
2.63.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
addressId |
Address identifier. |
string |
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.63.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.63.4. Tags
-
Address
2.63.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.64. Updates the address
PATCH /{baseSiteId}/users/{userId}/addresses/{addressId}
2.64.1. Description
Updates the address. Only attributes provided in the request body will be changed.
2.64.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
addressId |
Address identifier. |
string |
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
address |
Address object |
2.64.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.64.4. Consumes
-
application/xml -
application/json
2.64.5. Tags
-
Address
2.64.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.65. Creates or restore a cart for a user.
POST /{baseSiteId}/users/{userId}/carts
2.65.1. Description
Creates a new cart or restores an anonymous cart as a user’s cart (if an old Cart Id is given in the request).
2.65.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
oldCartId |
Anonymous cart GUID. |
string |
|
Query |
toMergeCartGuid |
The GUID of the user’s cart that will be merged with the anonymous cart. |
string |
2.65.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.65.4. Consumes
-
application/json
2.65.5. Tags
-
Carts
2.65.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.66. Get all customer carts.
GET /{baseSiteId}/users/{userId}/carts
2.66.1. Description
Lists all customer carts.
2.66.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
Optional pagination parameter in case of savedCartsOnly == true. Default value 0. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
Optional {@link PaginationData} parameter in case of savedCartsOnly == true. Default value 20. |
integer (int32) |
|
Query |
savedCartsOnly |
Optional parameter. If the parameter is provided and its value is true, only saved carts are returned. |
boolean |
|
Query |
sort |
Optional sort criterion in case of savedCartsOnly == true. No default value. |
string |
2.66.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.66.4. Tags
-
Carts
2.66.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.67. Get a cart with a given identifier.
GET /{baseSiteId}/users/{userId}/carts/{cartId}
2.67.1. Description
Returns the cart with a given identifier.
2.67.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.67.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.67.4. Tags
-
Carts
2.67.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.68. Deletes a cart with a given cart id.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}
2.68.1. Description
Deletes a cart with a given cart id.
2.68.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.68.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.68.4. Tags
-
Carts
2.68.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.69. Creates a delivery address for the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.69.1. Description
Creates an address and assigns it to the cart as the delivery address.
2.69.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
address |
Request body parameter that contains details such as the customer’s first name (firstName), the customer’s last name (lastName), the customer’s title (titleCode), the customer’s phone (phone), the country (country.isocode), the first part of the address (line1), the second part of the address (line2), the town (town), the postal code (postalCode), and the region (region.isocode). The DTO is in XML or .json format. |
2.69.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.69.4. Consumes
-
application/xml -
application/json
2.69.5. Tags
-
Cart Addresses
2.69.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.70. Sets a delivery address for the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.70.1. Description
Sets a delivery address for the cart. The address country must be placed among the delivery countries of the current base store.
2.70.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
addressId |
Address identifier |
string |
2.70.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.70.4. Consumes
-
application/json
2.70.5. Tags
-
Cart Addresses
2.70.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.71. Deletes the delivery address from the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.71.1. Description
Deletes the delivery address from the cart.
2.71.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.71.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.71.4. Tags
-
Cart Addresses
2.71.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.72. Add addon product to cart
POST /{baseSiteId}/users/{userId}/carts/{cartId}/ceaAddEntry
2.72.1. Description
Add addon bundle product to cart
2.72.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
addOnProductCode |
Product code |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.72.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.72.4. Consumes
-
application/json
2.72.5. Produces
-
application/json
2.72.6. Tags
-
CEA Bundles
2.72.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.73. Get bundles
GET /{baseSiteId}/users/{userId}/carts/{cartId}/ceaBundleTemplates
2.73.1. Description
Get specific bundle template information. Returns the basic information of products included in the bundle
2.73.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.73.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.73.4. Produces
-
application/json
2.73.5. Tags
-
CEA Bundles
2.73.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.74. Get relationship users list based on permissible area type
GET /{baseSiteId}/users/{userId}/carts/{cartId}/ceaRelationshipUsers
2.74.1. Description
Get relationship users list based on permissible area type for service request
2.74.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.74.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.74.4. Produces
-
application/json
2.74.5. Tags
-
Service Request
2.74.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.75. Select user for service request
POST /{baseSiteId}/users/{userId}/carts/{cartId}/ceaRelationshipUsers/{relationshipUserId}
2.75.1. Description
Select user for service request
2.75.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
relationshipUserId |
User selected for service request |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.75.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.75.4. Consumes
-
application/json
2.75.5. Produces
-
application/json
2.75.6. Tags
-
Service Request
2.75.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.76. Explicitly clones a cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/clonesavedcart
2.76.1. Description
Explicitly clones a cart.
2.76.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
description |
The description that should be applied to the cloned cart. |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
name |
The name that should be applied to the cloned cart. |
string |
2.76.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.76.4. Consumes
-
application/json
2.76.5. Tags
-
Save Cart
2.76.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.77. Get orbeon configuration
GET /{baseSiteId}/users/{userId}/carts/{cartId}/configurator/orbeon
2.77.1. Description
Returns list of orbeon configuration elements.
2.77.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.77.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.77.4. Produces
-
application/json
2.77.5. Tags
-
Product Configurator Orbeon Template
2.77.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.78. Handles the consolidating pickup locations.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/consolidate
2.78.1. Description
Specifies one store location where all items will be picked up.
Note, if any of the items are not available at the specified location, these items are removed from the cart.
2.78.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
storeName |
The name of the store where items will be picked up |
string |
2.78.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.78.4. Consumes
-
application/json
2.78.5. Tags
-
Extended Carts
2.78.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.79. Get consolidated pickup options.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/consolidate
2.79.1. Description
Returns a list of stores that have all the pick-up items in stock.
Note, if there are no stores that have all the pick up items in stock, or all items are already set to the same pick up location, the response returns an empty list.
2.79.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.79.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.79.4. Tags
-
Extended Carts
2.79.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.80. Get the delivery mode selected for the cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.80.1. Description
Returns the delivery mode selected for the cart.
2.80.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.80.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.80.4. Tags
-
Cart Delivery Modes
2.80.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.81. Sets the delivery mode for a cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.81.1. Description
Sets the delivery mode with a given identifier for the cart.
2.81.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
deliveryModeId |
Delivery mode identifier (code) |
string |
2.81.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.81.4. Consumes
-
application/json
2.81.5. Tags
-
Cart Delivery Modes
2.81.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.82. Deletes the delivery mode from the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.82.1. Description
Deletes the delivery mode from the cart.
2.82.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.82.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.82.4. Tags
-
Cart Delivery Modes
2.82.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.83. Get all delivery modes for the current store and delivery address.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymodes
2.83.1. Description
Returns all delivery modes supported for the current base store and cart delivery address. A delivery address must be set for the cart, otherwise an empty list will be returned.
2.83.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.83.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.83.4. Tags
-
Cart Delivery Modes
2.83.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.84. Assigns an email to the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/email
2.84.1. Description
Assigns an email to the cart. This step is required to make a guest checkout.
2.84.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
email |
Email of the guest user. It will be used during the checkout process. |
string |
2.84.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.84.4. Consumes
-
application/json
2.84.5. Tags
-
Carts
2.84.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.85. Adds a product to the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/entries
2.85.1. Description
Adds a product to the cart.
2.85.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
entry |
Request body parameter that contains details such as the product code (product.code), the quantity of product (quantity), and the pickup store name (deliveryPointOfService.name). The DTO is in XML or .json format. |
2.85.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.85.4. Consumes
-
application/xml -
application/json
2.85.5. Tags
-
Cart Entries
2.85.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.86. Get cart entries.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/entries
2.86.1. Description
Returns cart entries.
2.86.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.86.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.86.4. Tags
-
Cart Entries
2.86.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.87. Get the details of the cart entries.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.87.1. Description
Returns the details of the cart entries.
2.87.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
entryNumber |
The entry number. Each entry in a cart has an entry number. Cart entries are numbered in ascending order, starting with zero (0). |
integer (int64) |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.87.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.87.4. Tags
-
Cart Entries
2.87.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.88. Set quantity and store details of a cart entry.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.88.1. Description
Updates the quantity of a single cart entry and the details of the store where the cart entry will be picked up. Attributes not provided in request will be defined again (set to null or default)
2.88.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
entryNumber |
The entry number. Each entry in a cart has an entry number. Cart entries are numbered in ascending order, starting with zero (0). |
integer (int64) |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
entry |
Request body parameter that contains details such as the quantity of product (quantity), and the pickup store name (deliveryPointOfService.name) The DTO is in XML or .json format. |
2.88.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.88.4. Consumes
-
application/xml -
application/json
2.88.5. Tags
-
Cart Entries
2.88.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.89. Deletes cart entry.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.89.1. Description
Deletes cart entry.
2.89.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
entryNumber |
The entry number. Each entry in a cart has an entry number. Cart entries are numbered in ascending order, starting with zero (0). |
integer (int64) |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.89.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.89.4. Tags
-
Cart Entries
2.89.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.90. Update quantity and store details of a cart entry.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.90.1. Description
Updates the quantity of a single cart entry and the details of the store where the cart entry will be picked up.
2.90.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
entryNumber |
The entry number. Each entry in a cart has an entry number. Cart entries are numbered in ascending order, starting with zero (0). |
integer (int64) |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
entry |
Request body parameter that contains details such as the quantity of product (quantity), and the pickup store name (deliveryPointOfService.name) The DTO is in XML or .json format. |
2.90.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.90.4. Consumes
-
application/xml -
application/json
2.90.5. Tags
-
Cart Entries
2.90.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.91. Add a product to a cart entry group.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/entrygroups/{entryGroupNumber}
2.91.1. Description
Adds a product to a cart entry group.
2.91.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
entryGroupNumber |
Each entry group in a cart has a specific entry group number. Entry group numbers are integers starting at one. They are defined in ascending order. |
integer (int32) |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
entry |
Request body parameter that contains details such as the product code (product.code) and the quantity of product (quantity). |
2.91.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.91.4. Consumes
-
application/json
2.91.5. Tags
-
Cart Entry Groups
2.91.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.92. Delete an entry group.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/entrygroups/{entryGroupNumber}
2.92.1. Description
Removes an entry group from an associated cart. The entry group is identified by an entryGroupNumber. The cart is identified by the cartId.
2.92.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
entryGroupNumber |
Each entry group in a cart has a specific entry group number. Entry group numbers are integers starting at one. They are defined in ascending order. |
integer (int32) |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.92.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.92.4. Tags
-
Cart Entry Groups
2.92.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.93. Flag a cart for deletion.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/flagForDeletion
2.93.1. Description
Flags a cart for deletion (the cart doesn’t have corresponding save cart attributes anymore). The cart is not actually deleted from the database. But with the removal of the saved cart attributes, this cart will be taken care of by the cart removal job just like any other cart.
2.93.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.93.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.93.4. Consumes
-
application/json
2.93.5. Tags
-
Save Cart
2.93.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.94. validate and load next form
POST /{baseSiteId}/users/{userId}/carts/{cartId}/next
2.94.1. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.94.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.94.3. Consumes
-
application/json
2.94.4. Produces
-
application/json
2.94.5. Tags
-
Product Configurator Orbeon Template
2.94.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.95. Get information needed for create subscription
GET /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/request
2.95.1. Description
Returns the necessary information for creating a subscription that contacts the payment provider directly. This information contains the payment provider URL and a list of parameters that are needed to create the subscription.
2.95.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
extendedMerchantCallback |
Define which url should be returned |
boolean |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
responseUrl |
The URL that the payment provider uses to return payment information. Possible values for responseUrl include the following: “orderPage_cancelResponseURL”, “orderPage_declineResponseURL”, and “orderPage_receiptResponseURL”. |
string |
2.95.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.95.4. Tags
-
Extended Carts
2.95.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.96. Handles response from payment provider and create payment details
POST /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.96.1. Description
Handles the response from the payment provider and creates payment details.
Note, the “Try it out” button is not enabled for this method (always returns an error) because the Extended Carts Controller handles parameters differently, depending on which payment provider is used. For more information about this controller, please refer to the “acceleratorocc AddOn” documentation on help.hybris.com.
2.96.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.96.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.96.4. Consumes
-
application/json
2.96.5. Tags
-
Extended Carts
2.96.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.97. Get information about create subscription request results
GET /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.97.1. Description
Returns information related to creating subscription request results. If there is no response from the payment provider, a "202 Accepted" status is returned. If the subscription is created successfully, the payment details are returned. Otherwise, an error response is returned.
Note, the “Try it out” button is not enabled for this method (always returns an error) because the Extended Carts Controller handles parameters differently, depending on which payment provider is used. For more information about this controller, please refer to the “acceleratorocc AddOn” documentation on help.hybris.com.
2.97.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.97.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.97.4. Tags
-
Extended Carts
2.97.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.98. Deletes payment provider response related to cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.98.1. Description
Deletes the payment provider response related to the specified cart.
2.98.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.98.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.98.4. Tags
-
Extended Carts
2.98.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.99. Defines and assigns details of a new credit card payment to the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/paymentdetails
2.99.1. Description
Defines the details of a new credit card, and assigns this payment option to the cart.
2.99.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
paymentDetails |
Request body parameter that contains details such as the name on the card (accountHolderName), the card number (cardNumber), the card type (cardType.code), the month of the expiry date (expiryMonth), the year of the expiry date (expiryYear), whether the payment details should be saved (saved), whether the payment details should be set as default (defaultPaymentInfo), and the billing address (billingAddress.firstName, billingAddress.lastName, billingAddress.titleCode, billingAddress.country.isocode, billingAddress.line1, billingAddress.line2, billingAddress.town, billingAddress.postalCode, billingAddress.region.isocode) The DTO is in XML or .json format. |
2.99.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.99.4. Consumes
-
application/xml -
application/json
2.99.5. Tags
-
Cart Payments
2.99.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.100. Sets credit card payment details for the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/paymentdetails
2.100.1. Description
Sets credit card payment details for the cart.
2.100.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
paymentDetailsId |
Payment details identifier. |
string |
2.100.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.100.4. Consumes
-
application/json
2.100.5. Tags
-
Cart Payments
2.100.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.101. Enables promotions based on the promotionsId of the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/promotions
2.101.1. Description
Enables a promotion for the order based on the promotionId defined for the cart. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers, and as a result, some of them are currently not compatible with the new promotions engine.
2.101.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
promotionId |
Promotion identifier (code) |
string |
2.101.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.101.4. Consumes
-
application/json
2.101.5. Tags
-
Cart Promotions
2.101.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.102. Get information about promotions applied on cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/promotions
2.102.1. Description
Returns information about the promotions applied on the cart. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers, and as a result, some of them are currently not compatible with the new promotions engine.
2.102.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.102.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.102.4. Tags
-
Cart Promotions
2.102.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.103. Get information about promotion applied on cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/promotions/{promotionId}
2.103.1. Description
Returns information about a promotion (with a specific promotionId), that has been applied on the cart. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers, and as a result, some of them are currently not compatible with the new promotions engine.
2.103.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
promotionId |
Promotion identifier (code) |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.103.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.103.4. Tags
-
Cart Promotions
2.103.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.104. Disables the promotion based on the promotionsId of the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/promotions/{promotionId}
2.104.1. Description
Disables the promotion for the order based on the promotionId defined for the cart. Requests pertaining to promotions have been developed for the previous version of promotions and vouchers, and as a result, some of them are currently not compatible with the new promotions engine.
2.104.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
promotionId |
Promotion identifier (code) |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.104.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.104.4. Tags
-
Cart Promotions
2.104.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.105. Restore a saved cart.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/restoresavedcart
2.105.1. Description
Restore a saved cart.
2.105.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.105.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.105.4. Consumes
-
application/json
2.105.5. Tags
-
Save Cart
2.105.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.106. Explicitly saves a cart.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/save
2.106.1. Description
Explicitly saves a cart.
2.106.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
saveCartDescription |
The description that should be applied to the saved cart. |
string |
|
Query |
saveCartName |
The name that should be applied to the saved cart. |
string |
2.106.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.106.4. Consumes
-
application/json
2.106.5. Tags
-
Save Cart
2.106.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.107. Saves a service request
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/saveDraft
2.107.1. Description
Saves a service request as draft.
2.107.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
saveStepFormId |
The form step to be saved for the saved cart. Data will be saved in returnUrl attribute |
string |
2.107.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.107.4. Consumes
-
application/json
2.107.5. Produces
-
application/json
2.107.6. Tags
-
Service Request
2.107.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.108. Get a saved cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/savedcart
2.108.1. Description
Returns a saved cart for an authenticated user. The cart is identified using the "cartId" parameter.
2.108.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.108.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.108.4. Tags
-
Save Cart
2.108.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.109. Validates the cart
POST /{baseSiteId}/users/{userId}/carts/{cartId}/validate
2.109.1. Description
Runs a cart validation and returns the result.
2.109.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.109.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.109.4. Consumes
-
application/json
2.109.5. Tags
-
Carts
2.109.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.110. Applies a voucher based on the voucherId defined for the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers
2.110.1. Description
Applies a voucher based on the voucherId defined for the cart.
2.110.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
voucherId |
Voucher identifier (code) |
string |
2.110.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.110.4. Consumes
-
application/json
2.110.5. Tags
-
Cart Promotions
2.110.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.111. Get a list of vouchers applied to the cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers
2.111.1. Description
Returns a list of vouchers applied to the cart.
2.111.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.111.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.111.4. Tags
-
Cart Promotions
2.111.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.112. Deletes a voucher defined for the current cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers/{voucherId}
2.112.1. Description
Deletes a voucher based on the voucherId defined for the current cart.
2.112.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
cartId |
Cart identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified cart |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Path |
voucherId |
Voucher identifier (code) |
string |
2.112.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.112.4. Tags
-
Cart Promotions
2.112.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.113. Get all assets for user.
GET /{baseSiteId}/users/{userId}/ceaAssets
2.113.1. Description
Returns list of assets for a specified user for a specified base store. The response can display the results across multiple pages, if required.
2.113.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
currentPage |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. |
string |
2.113.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.113.4. Produces
-
application/json
2.113.5. Tags
-
Assets
2.113.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.114. Get specific asset details for user.
GET /{baseSiteId}/users/{userId}/ceaAssets/{assetCode}
2.114.1. Description
Returns asset details based on specified asset code
2.114.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
assetCode |
The asset code |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.114.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.114.4. Produces
-
application/json
2.114.5. Tags
-
Assets
2.114.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.115. Get all bills for an asset and user.
GET /{baseSiteId}/users/{userId}/ceaAssets/{assetCode}/bills
2.115.1. Description
Returns bill list based on specified asset code and user
2.115.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
assetCode |
The asset code |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.115.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.115.4. Produces
-
application/json
2.115.5. Tags
-
Assets
2.115.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.116. Get specific bill for asset.
GET /{baseSiteId}/users/{userId}/ceaAssets/{assetCode}/bills/{billCode}
2.116.1. Description
Returns specific bill data based on specified asset code.
2.116.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
billCode |
The bill code |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Path |
assetCode |
Asset code |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.116.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.116.4. Produces
-
application/json
2.116.5. Tags
-
Assets
2.116.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.117. Get all service request for a user and an asset.
GET /{baseSiteId}/users/{userId}/ceaAssets/{assetCode}/serviceRequest
2.117.1. Description
Returns service request list based on specified asset code and user
2.117.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
assetCode |
The asset code |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.117.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.117.4. Produces
-
application/json
2.117.5. Tags
-
Assets
2.117.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.118. Get a service request for given code and asset.
GET /{baseSiteId}/users/{userId}/ceaAssets/{assetCode}/serviceRequests/{code}
2.118.1. Description
Get a service request for given code and asset.
2.118.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Order code |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.118.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.118.4. Produces
-
application/json
2.118.5. Tags
-
Assets
2.118.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.119. Get bills for user.
GET /{baseSiteId}/users/{userId}/ceaBills
2.119.1. Description
Returns bill data for all bill placed by a specified user for a specified base store. The response can display the results across multiple pages, if required.
2.119.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. Sorting is byDueDateAndStatus and byDueDate |
string |
|
Query |
status |
Filters only certain bill status. For example, status=PAID, UNPAID (which includes Part Paid and Unpaid bills) or ALL would only return bill with status PAID, UNPAID or ALL. |
string |
2.119.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.119.4. Produces
-
application/json
2.119.5. Tags
-
Bills
2.119.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.118. Get specific bill for user.
GET /{baseSiteId}/users/{userId}/ceaBills/{billCode}
2.120.1. Description
Returns specific bill data by a specified user for a specified base store.
2.120.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
billCode |
The bill code |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.120.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.120.4. Produces
-
application/json
2.120.5. Tags
-
Bills
2.120.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.121. Get bill receipt for billCode and receiptCode.
POST /{baseSiteId}/users/{userId}/ceaBills/{billCode}/receipts/{receiptCode}.pdf
2.121.1. Description
Get receipt of a paid bill in encoded byte array downloaded as pdf.
2.121.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
billCode |
The bill code |
string |
Path |
receiptCode |
Receipt code |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.121.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.121.4. Consumes
-
application/json
2.121.5. Produces
-
application/pdf
2.121.6. Tags
-
Bills
2.121.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.122. Get pending permissions for permissionUserId
GET /{baseSiteId}/users/{userId}/ceaPermissionUsers/{permissionUserId}/pendingPermissions
2.122.1. Description
Returns the permissions of a user
2.122.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
permissionUserId |
Permission for User ID |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.122.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.122.4. Produces
-
application/json
2.122.5. Tags
-
Permissions
2.122.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.123. Get permission for permissionUserId
GET /{baseSiteId}/users/{userId}/ceaPermissionUsers/{permissionUserId}/permissions
2.123.1. Description
Returns permission details
2.123.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
permissionUserId |
Permission for User ID |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
relationshipId |
Relationship Id |
string |
|
Query |
requested |
Flag to identify source user or target user permissions |
boolean |
|
2.123.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.123.4. Produces
-
application/json
2.123.5. Tags
-
Permissions
2.123.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.124. Create permissions.
POST /{baseSiteId}/users/{userId}/ceaPermissions
2.124.1. Description
Create permissions
2.124.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
permissionRequest |
CEAPermissionRequest object. |
2.124.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.124.4. Consumes
-
application/json
2.124.5. Produces
-
application/json
2.124.6. Tags
-
Permissions
2.124.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.125. Update pending permission status (Accept/Reject/Cancel).
PATCH /{baseSiteId}/users/{userId}/ceaPermissions
2.125.1. Description
Update pending relationship (Accept/Reject/Cancel)
2.125.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
permissionModification |
CEAPermissionModification object. |
2.125.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.125.4. Consumes
-
application/json
2.125.5. Tags
-
Permissions
2.125.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.126. Get relationship users list based on permissible are type
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers
2.126.1. Description
Get relationship users list based on permissible are type
2.126.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
permissibleAreaCode |
Permissible area type |
string |
2.126.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.126.4. Produces
-
application/json
2.126.5. Tags
-
CEA Miscs
2.126.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.127. Get address list for relationship user
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/addresses
2.127.1. Description
Returns the list of address for relationship user.
2.127.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.127.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.127.4. Produces
-
application/json
2.127.5. Tags
-
Relationships
2.127.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.128. Get bills for user based on relationshipUserId
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/bills
2.128.1. Description
Returns bill data for all bills for specified relationshipUserId for a specified base store. The response can display the results across multiple pages, if required.
2.128.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. Sorting is byDueDateAndStatus and byDueDate |
string |
|
Query |
status |
Filters only certain bill status. For example, status=PAID, UNPAID (which includes Part Paid and Unpaid bills) or ALL would only return bill with status PAID, UNPAID or ALL. |
string |
2.128.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.128.4. Produces
-
application/json
2.128.5. Tags
-
CEA Relationship Bills
2.128.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.129. Get specific bill for user.
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/bills/{billCode}
2.129.1. Description
Returns specific bill data by a specified user for a specified base store.
2.129.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
billCode |
The bill code |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.129.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.129.4. Produces
-
application/json
2.129.5. Tags
-
CEA Relationship Bills
2.129.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.130. Get list of drafts for relationship user
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/drafts
2.130.1. Description
Returns the list of drafts for relationship user.
2.130.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. Sorting is byDueDateAndStatus and byDueDate |
string |
2.130.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.130.4. Produces
-
application/json
2.130.5. Tags
-
Service Request
2.130.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.131. Restore a draft
PATCH /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/drafts/{draftCode}
2.131.1. Description
Returns the draft for draft code and relationship user.
2.131.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
draftCode |
Draft code |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.131.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.131.4. Consumes
-
application/json
2.131.5. Produces
-
application/json
2.131.6. Tags
-
Service Request
2.131.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.132. Get order list for relationship user
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/orders
2.132.1. Description
Returns the list of orders for relationship user.
2.132.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. |
string |
|
Query |
statuses |
Filters only certain order statuses. For example, statuses=CANCELLED,CHECKED_VALID would only return orders with status CANCELLED or CHECKED_VALID. |
string |
2.132.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.132.4. Produces
-
application/json
2.132.5. Tags
-
CEA Relationship Orders
2.132.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.133. Get a order.
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/orders/{code}
2.133.1. Description
Returns service request based on a specific service request code. The response contains detailed service request information.
2.133.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Order code |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.133.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.133.4. Produces
-
application/json
2.133.5. Tags
-
CEA Relationship Orders
2.133.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.134. Get total number of pending relationship and permission request.
HEAD /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/relationshipPermissionRequests
2.134.1. Description
In the response header, the "x-total-count" indicates the total number of pending relationships and permissions for user.
2.134.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
relationshipUserId |
User uid for which pending relationship and permission count to be retreived. Can be same as logged-in user id. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
pendingCountFor |
Specifies which pending requests to count. Supported values: RELATIONSHIP, PERMISSION. If omitted, returns the combined count of pending relationship and permission requests. |
string |
2.134.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.134.4. Consumes
-
application/json
2.134.5. Tags
-
Relationships
2.134.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.135. Get list of relationships for user.
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/relationships
2.135.1. Description
Get list of relationships for user based on relationshipUserId and status (ACTIVE/PENDING/ALL)
2.135.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
status |
Relationship status (ACTIVE/PENDING/ALL) |
string |
|
Query |
ceaSourceUser |
Flag to mark if logged in user is source user for pending status |
boolean |
|
Query |
pageSize |
The number of results returned per page. |
integer |
|
Query |
currentPage |
The current result page requested. |
integer |
|
Query |
ceaRelationshipTypes |
Relationship types (POA/NON_POA) |
String |
2.135.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.135.4. Produces
-
application/json
2.135.5. Tags
-
Relationships
2.135.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.136. Creates a new relationship
POST /{baseSiteId}/users/{userId}/ceaRelationships
2.136.1. Description
Creates relationship of a user. The response can display the results across multiple pages, if required.
2.136.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
relationshipRequest |
CEA Relationships |
2.136.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.136.4. Consumes
-
application/json
2.136.5. Produces
-
application/json
2.136.6. Tags
-
Relationships
2.136.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.137. Get total number of Relationships for logged-in user
HEAD /{baseSiteId}/users/{userId}/ceaRelationships
2.137.1. Description
In the response header, the "x-total-count" indicates the total number of relationships for logged-in user.
2.137.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.137.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.137.4. Consumes
-
application/json
2.137.5. Tags
-
Relationships
2.137.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.138. Update pending relationship status (Accept/Reject/Cancel).
PATCH /{baseSiteId}/users/{userId}/ceaRelationships/{relationshipId}
2.138.1. Description
Update pending relationship (Accept/Reject/Cancel)
2.138.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
relationshipId |
Relationship Id |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
relationshipStatusModification |
Relationship modification object. |
2.138.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.138.4. Consumes
-
application/json
2.138.5. Tags
-
Relationships
2.138.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.139. A user can give consent.
POST /{baseSiteId}/users/{userId}/consents
2.139.1. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
consentTemplateId |
Consent template ID. |
string |
Query |
consentTemplateVersion |
Consent template version. |
integer (int32) |
2.139.2. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.139.3. Consumes
-
application/json
2.139.4. Tags
-
Consents
2.139.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.140. Withdraw the user consent for a given consent code.
DELETE /{baseSiteId}/users/{userId}/consents/{consentCode}
2.140.1. Description
If the user consent was given, the consent is withdrawn. If consent was already withdrawn then returns consent already withdrawn error. If there is no such consent then returns not found. If the current user is an anonymous user then returns access denied error.
2.140.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
consentCode |
Consent code. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.140.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.140.4. Tags
-
Consents
2.140.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.141. Fetch the list of consents
GET /{baseSiteId}/users/{userId}/consenttemplates
2.141.1. Description
If user has not given or withdrawn consent to any of the template, no given or withdraw date is returned.
2.141.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.141.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.141.4. Tags
-
Consents
2.141.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.142. Fetch the consent.
GET /{baseSiteId}/users/{userId}/consenttemplates/{consentTemplateId}
2.142.1. Description
If user has not given or withdrawn consent to the template, no given or withdraw date is returned.
2.142.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
consentTemplateId |
Consent template id. |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.142.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.142.4. Tags
-
Consents
2.142.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.143. Get all customer groups of a customer.
GET /{baseSiteId}/users/{userId}/customergroups
2.143.1. Description
Returns all customer groups of a customer.
2.143.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.143.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.143.4. Tags
-
Users
2.143.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.144. Gets the future product availability for the list of specified products.
GET /{baseSiteId}/users/{userId}/futureStocks
2.144.1. Description
Returns a list of product codes with a list of future product availability.
2.144.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
productCodes |
Products identifiers. |
string |
2.144.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.144.4. Produces
-
application/json
2.144.5. Tags
-
Future Stocks
2.144.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.145. Gets the future product availability for the specified product.
GET /{baseSiteId}/users/{userId}/futureStocks/{productCode}
2.145.1. Description
Returns a list of future product availability of the specified product.
2.145.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
Product identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.145.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.145.4. Produces
-
application/json
2.145.5. Tags
-
Future Stocks
2.145.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.146. Changes customer’s login name.
PUT /{baseSiteId}/users/{userId}/login
2.146.1. Description
Changes a customer’s login name. Requires the customer’s current password.
2.146.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
newLogin |
Customer’s new login name. Customer login is case insensitive. |
string |
Query |
password |
Customer’s current password. |
string |
2.146.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.146.4. Consumes
-
application/json
2.146.5. Tags
-
Users
2.146.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.147. Notify about successful login.
POST /{baseSiteId}/users/{userId}/loginnotification
2.147.1. Description
Publish notification event about successful login.
2.147.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.147.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
202 |
Accepted |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.147.4. Consumes
-
application/json
2.147.5. Tags
-
Login Notification
2.147.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.148. Create an order return request.
POST /{baseSiteId}/users/{userId}/orderReturns
2.148.1. Description
Creates an order return request.
2.148.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Body |
returnRequestEntryInputList |
Return request input list for the current order. |
2.148.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.148.4. Consumes
-
application/json
2.148.5. Produces
-
application/json
2.148.6. Tags
-
Return Requests
2.148.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.149. Gets the user’s return requests history
GET /{baseSiteId}/users/{userId}/orderReturns
2.149.1. Description
Returns order return request data associated with a specified user for a specified base store.
2.149.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. |
string |
2.149.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.149.4. Produces
-
application/json
2.149.5. Tags
-
Return Requests
2.149.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.150. Get the details of a return request.
GET /{baseSiteId}/users/{userId}/orderReturns/{returnRequestCode}
2.150.1. Description
Returns specific order return request details based on a specific return request code. The response contains detailed order return request information.
2.150.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
returnRequestCode |
Order return request code |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.150.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.150.4. Produces
-
application/json
2.150.5. Tags
-
Return Requests
2.150.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.151. Updates the order return request.
PATCH /{baseSiteId}/users/{userId}/orderReturns/{returnRequestCode}
2.151.1. Description
Updates the order return request. Only cancellation of the request is supported by setting the attribute status to CANCELLING. Cancellation of the return request cannot be reverted
2.151.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
returnRequestCode |
Order return request code |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
returnRequestModification |
Return request modification object. |
2.151.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.151.4. Consumes
-
application/json
2.151.5. Produces
-
application/json
2.151.6. Tags
-
Return Requests
2.151.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.152. Place a order.
POST /{baseSiteId}/users/{userId}/orders
2.152.1. Description
Authorizes the cart and places the order. The response contains the new order data.
2.152.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
cartId |
Cart code for logged in user, cart GUID for guest checkout |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.152.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.152.4. Consumes
-
application/json
2.152.5. Tags
-
Orders
2.152.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.153. Get order history for user.
GET /{baseSiteId}/users/{userId}/orders
2.153.1. Description
Returns order history data for all orders placed by a specified user for a specified base store. The response can display the results across multiple pages, if required.
2.153.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
currentPage |
The current result page requested. |
integer (int32) |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
Query |
sort |
Sorting method applied to the return results. |
string |
|
Query |
statuses |
Filters only certain order statuses. For example, statuses=CANCELLED,CHECKED_VALID would only return orders with status CANCELLED or CHECKED_VALID. |
string |
2.153.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.153.4. Tags
-
Orders
2.153.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.154. Get total number of orders.
HEAD /{baseSiteId}/users/{userId}/orders
2.154.1. Description
In the response header, the "x-total-count" indicates the total number of orders placed by a specified user for a specified base store.
2.154.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
statuses |
Filters only certain order statuses. For example, statuses=CANCELLED,CHECKED_VALID would only return orders with status CANCELLED or CHECKED_VALID. |
string |
2.154.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.154.4. Consumes
-
application/json
2.154.5. Tags
-
Orders
2.154.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.155. Get a order.
GET /{baseSiteId}/users/{userId}/orders/{code}
2.155.1. Description
Returns specific order details based on a specific order code. The response contains detailed order information.
2.155.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Order GUID (Globally Unique Identifier) or order CODE |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.155.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.155.4. Tags
-
Orders
2.155.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.156. Cancel an order.
POST /{baseSiteId}/users/{userId}/orders/{code}/cancellation
2.156.1. Description
Cancels an order partially or completely
2.156.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
code |
Order code |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
cancellationRequestEntryInputList |
Cancellation request input list for the current order. |
2.156.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.156.4. Consumes
-
application/json
2.156.5. Produces
-
application/json
2.156.6. Tags
-
Orders
2.156.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.157. Changes customer’s password
PUT /{baseSiteId}/users/{userId}/password
2.157.1. Description
Changes customer’s password.
2.157.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
new |
New password. |
string |
Query |
old |
Old password. Required only for ROLE_CUSTOMERGROUP |
string |
2.157.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
202 |
Accepted |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.157.4. Consumes
-
application/json
2.157.5. Tags
-
Users
2.157.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.158. Get customer’s credit card payment details list.
GET /{baseSiteId}/users/{userId}/paymentdetails
2.158.1. Description
Return customer’s credit card payment details list.
2.158.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Query |
saved |
Type of payment details. |
boolean |
|
2.158.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.158.4. Tags
-
Payment Details
2.158.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.159. Get customer’s credit card payment details.
GET /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.159.1. Description
Returns a customer’s credit card payment details for the specified paymentDetailsId.
2.159.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
paymentDetailsId |
Payment details identifier. |
string |
|
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.159.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.159.4. Tags
-
Payment Details
2.159.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.160. Updates existing customer’s credit card payment info.
PUT /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.160.1. Description
Updates existing customer’s credit card payment info based on the payment info ID. Attributes not given in request will be defined again (set to null or default).
2.160.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
paymentDetailsId |
Payment details identifier. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
paymentDetails |
Payment details object. |
2.160.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.160.4. Consumes
-
application/xml -
application/json
2.160.5. Tags
-
Payment Details
2.160.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.161. Deletes customer’s credit card payment details.
DELETE /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.161.1. Description
Deletes a customer’s credit card payment details based on a specified paymentDetailsId.
2.161.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
paymentDetailsId |
Payment details identifier. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.161.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.161.4. Tags
-
Payment Details
2.161.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.162. Updates existing customer’s credit card payment details.
PATCH /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.162.1. Description
Updates an existing customer’s credit card payment details based on the specified paymentDetailsId. Only those attributes provided in the request will be updated.
2.162.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
paymentDetailsId |
Payment details identifier. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
paymentDetails |
Payment details object |
2.162.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.162.4. Consumes
-
application/xml -
application/json
2.162.5. Tags
-
Payment Details
2.162.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.163. Get a voucher based on code.
GET /{baseSiteId}/vouchers/{code}
2.163.1. Description
Returns details of a single voucher that is specified by its voucher identification code.
2.163.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
code |
Voucher identifier (code) |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
2.163.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.163.4. Tags
-
Vouchers
2.163.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.164. Get asset list for relationship user.
GET /{baseSiteId}/users/{userId}/ceaRelationshipUsers/{relationshipUserId}/assets
2.164.1. Description
Returns the list of assets for relationship user.
2.164.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Query |
currentPage |
The current result page requested. |
integer |
|
Query |
sortId |
Sorting method applied to the return results. |
string |
|
Query |
pageSize |
The number of results returned per page. |
string |
|
Query |
fields |
Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL |
string |
|
Path |
relationshipUserId |
Userid of relationship user. Can be same as logged-in userid |
string |
|
Path |
UserId |
User identifier or one of the literals : ''current'' for currently authenticated user, ''anonymous'' for anonymous user |
string |
2.164.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.164.4. Tags
-
Relationships
2.164.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |