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 : hostname
BasePath : /occ/v2
1.4. Tags
-
Address : Address Controller
-
B2B Carts : B 2 B Carts Controller
-
B2B Categories : B 2 B Categories Controller
-
B2B Cost Centers : B 2 B Cost Centers Controller
-
B2B Miscs : B 2 B Miscs Controller
-
B2B Orders : B 2 B Orders Controller
-
B2B Products : B 2 B Products Controller
-
B2B Users : B 2 B Users Controller
-
Base Sites : Base Sites Controller
-
Base Stores : Base Stores Controller
-
Budget Management : Budget Management 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
-
Consents : Consents Controller
-
Countries : Countries Controller
-
Customer Groups : Customer Groups Controller
-
Entitlement Instances : Entitlement Instances 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
-
Order Approval Permission Types : Order Approval Permission Types Controller
-
Order Approval Permissions : Order Approval Permissions Controller
-
Order Approvals : Order Approvals Controller
-
Orders : Orders Controller
-
Organizational Unit Customer Management : Org Customer Management Controller
-
Organizational Unit Management : Org Units Controller
-
Organizational Unit User Groups : Org Unit User Groups Controller
-
Payment Details : Payment Details Controller
-
Payment Modes : Payment Modes Controller
-
Products : Products Controller
-
Promotions : Promotions Controller
-
Quotes : Quote Controller
-
Replenishment Order : Replenishment Order Controller
-
Return Requests : Order Returns Controller
-
Save Cart : Save Cart 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. Gets a list of products under a specific category
GET /{baseSiteId}/categories/{categoryId}/products
2.8.1. Description
Returns a list of products in the specified category.
2.8.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
categoryId |
The category ID |
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 in format: freeTextSearch: sort: facetKey1: facetValue1: facetKey2: facetValue2 |
string |
|
Query |
sort |
Sorting method applied to the display search results. |
string |
2.8.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.8.4. Tags
-
B2B Categories
2.8.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.9. Create a new cost center.
POST /{baseSiteId}/costcenters
2.9.1. Description
Creates a new cost center.
2.9.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 |
costCenter |
Cost center object. |
2.9.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.9.4. Consumes
-
application/json
2.9.5. Produces
-
application/json
2.9.6. Tags
-
B2B Cost Centers
2.9.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.10. Get active cost centers.
GET /{baseSiteId}/costcenters
2.10.1. Description
Returns the list of all active cost centers.
2.10.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.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
-
B2B Cost Centers
2.10.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.11. Get a cost center.
GET /{baseSiteId}/costcenters/{costCenterCode}
2.11.1. Description
Returns a specific cost center based on specific code. The response contains detailed cost center information.
2.11.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
costCenterCode |
Cost center 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.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
-
B2B Cost Centers
2.11.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.12. Update a cost center.
PATCH /{baseSiteId}/costcenters/{costCenterCode}
2.12.1. Description
Updates a cost center. Only attributes provided in the request body will be changed.
2.12.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
costCenterCode |
Cost center 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 |
costCenter |
Cost center object. |
2.12.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.12.4. Consumes
-
application/json
2.12.5. Produces
-
application/json
2.12.6. Tags
-
B2B Cost Centers
2.12.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.13. Add a budget to a specific cost center.
POST /{baseSiteId}/costcenters/{costCenterCode}/budgets
2.13.1. Description
Adds a budget to a specific cost center.
2.13.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
costCenterCode |
Identifier of the cost center to which the budget will be added. |
string |
|
Query |
budgetCode |
The budget which will be added to a specific cost center. |
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.13.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.13.4. Consumes
-
application/json
2.13.5. Produces
-
application/json
2.13.6. Tags
-
B2B Cost Centers
2.13.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.14. Get all budgets and select budgets which belong to a specific cost center.
GET /{baseSiteId}/costcenters/{costCenterCode}/budgets
2.14.1. Description
Returns the list of all budgets, where those budgets, which belong to a specific cost center, are selected.
2.14.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
costCenterCode |
Cost center 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 |
sort |
Sorting method applied to the return results. |
string |
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. Produces
-
application/json
2.14.5. Tags
-
B2B Cost Centers
2.14.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.15. Remove a budget from a specific cost center.
DELETE /{baseSiteId}/costcenters/{costCenterCode}/budgets/{budgetCode}
2.15.1. Description
Removes a budget from a specific cost center.
2.15.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
budgetCode |
The budget which will be removed from a specific cost center. |
string |
|
Path |
costCenterCode |
Identifier of the cost center from which the budget will be removed. |
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 |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.15.4. Produces
-
application/json
2.15.5. Tags
-
B2B Cost Centers
2.15.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.16. Get cost centers.
GET /{baseSiteId}/costcentersall
2.16.1. Description
Returns the list of all cost centers.
2.16.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 |
sort |
Sorting method applied to the return results. |
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. Produces
-
application/json
2.16.5. Tags
-
B2B Cost Centers
2.16.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.17. Get a list of countries.
GET /{baseSiteId}/countries
2.17.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.17.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.17.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.17.4. Tags
-
Countries
2.17.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.18. Fetch the list of regions for the provided country.
GET /{baseSiteId}/countries/{countyIsoCode}/regions
2.18.1. Description
Lists all regions.
2.18.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.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
-
Countries
2.18.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.19. Get a list of available currencies.
GET /{baseSiteId}/currencies
2.19.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.19.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.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
-
Miscs
2.19.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.20. Creates a new customer group.
POST /{baseSiteId}/customergroups
2.20.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.20.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Body |
userGroup |
User group object with id and name. |
2.20.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. Get all subgroups of a customergroup.
GET /{baseSiteId}/customergroups
2.21.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.21.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.21.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.21.4. Tags
-
Customer Groups
2.21.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.22. Get a specific customer group.
GET /{baseSiteId}/customergroups/{groupId}
2.22.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.22.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.22.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.22.4. Tags
-
Customer Groups
2.22.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.23. Sets members for a user group.
PUT /{baseSiteId}/customergroups/{groupId}/members
2.23.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.23.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.23.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.23.4. Consumes
-
application/xml -
application/json
2.23.5. Tags
-
Customer Groups
2.23.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.24. Assigns user(s) to a customer group.
PATCH /{baseSiteId}/customergroups/{groupId}/members
2.24.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.24.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.24.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.24.4. Consumes
-
application/xml -
application/json
2.24.5. Tags
-
Customer Groups
2.24.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.25. Deletes a user from a customer group.
DELETE /{baseSiteId}/customergroups/{groupId}/members/{userId}
2.25.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.25.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
groupId |
Group identifier. |
string |
Path |
userId |
User identifier. |
string |
2.25.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.25.4. Tags
-
Customer Groups
2.25.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.26. Get a list of shipping countries.
GET /{baseSiteId}/deliverycountries
|
Caution
|
operation.deprecated |
2.26.1. Description
Lists all supported delivery countries for the current store. The list is sorted alphabetically.
2.26.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.26.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.26.4. Tags
-
Miscs
2.26.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.27. Get a list of product exports.
GET /{baseSiteId}/export/products
2.27.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.27.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.27.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.27.4. Tags
-
Export
2.27.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.28. Get a list of orders with status updates.
GET /{baseSiteId}/feeds/orders/statusfeed
2.28.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.28.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.28.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.28.4. Tags
-
Feeds
2.28.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.29. Generates a token to restore a customer’s forgotten password.
POST /{baseSiteId}/forgottenpasswordtokens
2.29.1. Description
Generates a token to restore a customer’s forgotten password.
2.29.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.29.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.29.4. Consumes
-
application/json
2.29.5. Tags
-
Forgotten Passwords
2.29.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.30. Verify the decision of the Merchant
POST /{baseSiteId}/integration/merchant_callback
2.30.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.30.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
2.30.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.30.4. Consumes
-
application/json
2.30.5. Tags
-
Merchant Callback
2.30.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.31. Verify the decision of the Merchant for a cart
POST /{baseSiteId}/integration/users/{userId}/carts/{cartId}/payment/sop/response
2.31.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.31.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.31.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.31.4. Consumes
-
application/json
2.31.5. Tags
-
Merchant Callback
2.31.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.32. Get a list of available languages.
GET /{baseSiteId}/languages
2.32.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.32.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.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
-
Miscs
2.32.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.33. Get order approval permission types.
GET /{baseSiteId}/orderApprovalPermissionTypes
2.33.1. Description
Returns the list of order approval permission types.
2.33.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.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. Produces
-
application/json
2.33.5. Tags
-
Order Approval Permission Types
2.33.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.34. Get a order.
GET /{baseSiteId}/orders/{code}
2.34.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.34.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.34.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.34.4. Tags
-
Orders
2.34.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.35. Returns a product.
GET /{baseSiteId}/orgProducts/{productCode}
2.35.1. Description
Returns a product, based on the specified product code.
2.35.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
productCode |
The 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.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
-
B2B Products
2.35.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.36. Create a registration request for a B2B user
POST /{baseSiteId}/orgUsers
2.36.1. Description
Create a registration request for a B2B user.
2.36.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 |
orgUserRegistrationData |
Data object that contains information necessary to apply user registration |
2.36.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.36.4. Consumes
-
application/json
2.36.5. Tags
-
B2B Users
2.36.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.37. Get a B2B user profile
GET /{baseSiteId}/orgUsers/{userId}
2.37.1. Description
Returns a B2B user profile.
2.37.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.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
-
B2B Users
2.37.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.38. Create a cart based on a previous order
POST /{baseSiteId}/orgUsers/{userId}/cartFromOrder
2.38.1. Description
Returns a list of modification applied to the new cart compared to original. e.g lower quantity was added
2.38.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. |
enum (BASIC, DEFAULT, FULL) |
|
Query |
orderCode |
The order code |
string |
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/json
2.38.5. Tags
-
B2B Orders
2.38.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.39. Sets the delivery address for the checkout cart.
PUT /{baseSiteId}/orgUsers/{userId}/carts/{cartId}/addresses/delivery
2.39.1. Description
Sets the delivery address for the checkout cart.
2.39.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 |
addressId |
The id of the address. |
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.39.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.39.4. Consumes
-
application/json
2.39.5. Tags
-
B2B Carts
2.39.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.40. Adds more quantity to the cart of specific products
POST /{baseSiteId}/orgUsers/{userId}/carts/{cartId}/entries/
2.40.1. Description
Updates the details of specified products in the cart, based either on the product code or the entryNumber.
2.40.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 |
entries |
List of entries containing the amount to add and the product code or the entryNumber. |
2.40.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.40.4. Consumes
-
application/json
2.40.5. Tags
-
B2B Carts
2.40.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.41. Updates the quantity for specific products in the cart
PUT /{baseSiteId}/orgUsers/{userId}/carts/{cartId}/entries/
2.41.1. Description
Creates the specified products in the cart, or overwrites the details of existing products in the cart, based either on the product code or the entryNumber. For existing products, attributes not provided in the request body will be defined again (set to null or default).
2.41.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 |
entries |
List of entries containing the amount to add and the product code or the entryNumber. |
2.41.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.41.4. Consumes
-
application/json
2.41.5. Tags
-
B2B Carts
2.41.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.42. Places a B2B Order.
POST /{baseSiteId}/orgUsers/{userId}/orders
2.42.1. Description
Places a B2B Order. By default the payment type is ACCOUNT. Please set payment type to CARD if placing an order using credit card.
2.42.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 identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified 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 |
termsChecked |
Whether terms were accepted or not. |
boolean |
2.42.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.42.4. Consumes
-
application/json
2.42.5. Tags
-
B2B Orders
2.42.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.43. Creates an Order and schedules Replenishment.
POST /{baseSiteId}/orgUsers/{userId}/replenishmentOrders
2.43.1. Description
Creates an Order and schedules Replenishment. By default the payment type is ACCOUNT. Please set payment type to CARD if placing an order using credit card.
2.43.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 identifier: cart code for logged in user, cart guid for anonymous user, 'current' for the last modified 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 |
termsChecked |
Whether terms were accepted or not. |
boolean |
|
Body |
scheduleReplenishmentForm |
Schedule replenishment form object. |
2.43.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.43.4. Consumes
-
application/json
2.43.5. Produces
-
application/json
2.43.6. Tags
-
B2B Orders
2.43.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.44. Gets all available payment modes.
GET /{baseSiteId}/paymentmodes
2.44.1. Description
Gets all payment modes defined for the base store.
2.44.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.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
-
Payment Modes
2.44.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.45. Returns a list of the available payment types.
GET /{baseSiteId}/paymenttypes
2.45.1. Description
Returns a list of the available payment types in the B2B checkout process.
2.45.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.45.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.45.4. Tags
-
B2B Miscs
2.45.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.46. Get products added to the express update feed.
GET /{baseSiteId}/products/expressupdate
2.46.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.46.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.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
-
Products
2.46.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.47. Get a list of products and additional data
GET /{baseSiteId}/products/search
2.47.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.47.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.47.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.47.4. Tags
-
Products
2.47.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.48. Get a header with total number of products.
HEAD /{baseSiteId}/products/search
2.48.1. Description
In the response header, the "x-total-count" indicates the total number of products satisfying a query.
2.48.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.48.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.48.4. Consumes
-
application/json
2.48.5. Tags
-
Products
2.48.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.49. Get a list of available suggestions
GET /{baseSiteId}/products/suggestions
2.49.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.49.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.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
-
Products
2.49.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.50. Get product details.
GET /{baseSiteId}/products/{productCode}
2.50.1. Description
Returns details of a single product according to a product code.
2.50.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.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
-
Products
2.50.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.51. Get a product reference
GET /{baseSiteId}/products/{productCode}/references
2.51.1. Description
Returns references for a product with a given product code. Reference type specifies which references to return.
2.51.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.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
-
Products
2.51.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.52. Creates a new customer review as an anonymous user.
POST /{baseSiteId}/products/{productCode}/reviews
2.52.1. Description
Creates a new customer review as an anonymous user.
2.52.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.52.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.52.4. Consumes
-
application/xml -
application/json
2.52.5. Tags
-
Products
2.52.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.53. Get reviews for a product
GET /{baseSiteId}/products/{productCode}/reviews
2.53.1. Description
Returns the reviews for a product with a given product code.
2.53.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.53.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.53.4. Tags
-
Products
2.53.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.54. Get a product’s stock level.
GET /{baseSiteId}/products/{productCode}/stock
2.54.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.54.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.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
-
Products
2.54.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.55. Get header with a total number of product’s stock levels.
HEAD /{baseSiteId}/products/{productCode}/stock
2.55.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.55.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.55.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.55.4. Consumes
-
application/json
2.55.5. Tags
-
Products
2.55.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.56. Get a product’s stock level for a store
GET /{baseSiteId}/products/{productCode}/stock/{storeName}
2.56.1. Description
Returns a product’s stock level for a particular store (in other words, for a particular point of sale).
2.56.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.56.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.56.4. Tags
-
Products
2.56.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.57. Get a list of promotions.
GET /{baseSiteId}/promotions
2.57.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.57.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.57.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.57.4. Tags
-
Promotions
2.57.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.58. Get a promotion based on code
GET /{baseSiteId}/promotions/{code}
2.58.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.58.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.58.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.58.4. Tags
-
Promotions
2.58.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.59. Reset password after customer’s clicked forgotten password link.
POST /{baseSiteId}/resetpassword
2.59.1. Description
Reset password after customer’s clicked forgotten password link.
2.59.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.59.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.59.4. Consumes
-
application/xml -
application/json
2.59.5. Tags
-
Forgotten Passwords
2.59.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.60. Get a list of store locations
GET /{baseSiteId}/stores
2.60.1. Description
Lists all store locations that are near the location specified in a query or based on latitude and longitude.
2.60.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.60.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.60.4. Tags
-
Stores
2.60.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.61. Get a header with the number of store locations.
HEAD /{baseSiteId}/stores
2.61.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.61.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.61.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.61.4. Consumes
-
application/json
2.61.5. Tags
-
Stores
2.61.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.62. Get a list of store locations for a given country
GET /{baseSiteId}/stores/country/{countryIso}
2.62.1. Description
Lists all store locations that are in the specified country.
2.62.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.62.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.62.4. Tags
-
Stores
2.62.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.63. Get a list of store locations for a given country and region
GET /{baseSiteId}/stores/country/{countryIso}/region/{regionIso}
2.63.1. Description
Lists all store locations that are in the specified country and region.
2.63.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.63.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.63.4. Tags
-
Stores
2.63.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.64. Gets a store location count per country and regions
GET /{baseSiteId}/stores/storescounts
2.64.1. Description
Returns store counts in countries and regions
2.64.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
2.64.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.64.4. Tags
-
Stores
2.64.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.65. Get a store location
GET /{baseSiteId}/stores/{storeId}
2.65.1. Description
Returns store location based on its unique name.
2.65.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.65.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.65.4. Tags
-
Stores
2.65.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.66. Get a list of all localized titles.
GET /{baseSiteId}/titles
2.66.1. Description
Lists all localized titles.
2.66.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.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
-
Miscs
2.66.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.67. Registers a customer
POST /{baseSiteId}/users
2.67.1. Description
Registers a customer. Requires the following parameters: login, password, firstName, lastName, titleCode.
2.67.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.67.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.67.4. Consumes
-
application/xml -
application/json
2.67.5. Tags
-
Users
2.67.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.68. Get customer profile
GET /{baseSiteId}/users/{userId}
2.68.1. Description
Returns customer profile.
2.68.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.68.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.68.4. Tags
-
Users
2.68.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.69. Updates customer profile
PUT /{baseSiteId}/users/{userId}
2.69.1. Description
Updates customer profile. Attributes not provided in the request body will be defined again (set to null or default).
2.69.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.69.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.69.4. Consumes
-
application/xml -
application/json
2.69.5. Tags
-
Users
2.69.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.70. Delete customer profile.
DELETE /{baseSiteId}/users/{userId}
2.70.1. Description
Removes customer profile.
2.70.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.70.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.70.4. Tags
-
Users
2.70.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.71. Updates customer profile
PATCH /{baseSiteId}/users/{userId}
2.71.1. Description
Updates customer profile. Only attributes provided in the request body will be changed.
2.71.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.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. Consumes
-
application/xml -
application/json
2.71.5. Tags
-
Users
2.71.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.72. Creates a new address.
POST /{baseSiteId}/users/{userId}/addresses
2.72.1. Description
Creates a new address.
2.72.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.72.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.72.4. Consumes
-
application/xml -
application/json
2.72.5. Tags
-
Address
2.72.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.73. Get customer’s addresses
GET /{baseSiteId}/users/{userId}/addresses
2.73.1. Description
Returns customer’s addresses.
2.73.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.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. Tags
-
Address
2.73.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.74. Verifies address.
POST /{baseSiteId}/users/{userId}/addresses/verification
2.74.1. Description
Verifies address.
2.74.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.74.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.74.4. Consumes
-
application/xml -
application/json
2.74.5. Tags
-
Address
2.74.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.75. Get info about address
GET /{baseSiteId}/users/{userId}/addresses/{addressId}
2.75.1. Description
Returns detailed information about address with a given id.
2.75.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.75.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.75.4. Tags
-
Address
2.75.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.76. Updates the address
PUT /{baseSiteId}/users/{userId}/addresses/{addressId}
2.76.1. Description
Updates the address. Attributes not provided in the request will be defined again (set to null or default).
2.76.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.76.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.76.4. Consumes
-
application/xml -
application/json
2.76.5. Tags
-
Address
2.76.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.77. Delete customer’s address.
DELETE /{baseSiteId}/users/{userId}/addresses/{addressId}
2.77.1. Description
Removes customer’s address.
2.77.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.77.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.77.4. Tags
-
Address
2.77.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.78. Updates the address
PATCH /{baseSiteId}/users/{userId}/addresses/{addressId}
2.78.1. Description
Updates the address. Only attributes provided in the request body will be changed.
2.78.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.78.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.78.4. Consumes
-
application/xml -
application/json
2.78.5. Tags
-
Address
2.78.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.79. Get available organizational unit nodes.
GET /{baseSiteId}/users/{userId}/availableOrgUnitNodes
2.79.1. Description
Returns list of available organizational unit nodes.
2.79.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.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. Produces
-
application/json
2.79.5. Tags
-
Organizational Unit Management
2.79.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.80. Creates a new budget
POST /{baseSiteId}/users/{userId}/budgets
2.80.1. Description
Creates a new budget.
2.80.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 |
budget |
Budget |
2.80.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.80.4. Consumes
-
application/json
2.80.5. Produces
-
application/json
2.80.6. Tags
-
Budget Management
2.80.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.81. Gets the list of budgets for a specified base store
GET /{baseSiteId}/users/{userId}/budgets
2.81.1. Description
Returns the list of budgets accessible to a specified user for a specified base store. The response can display the results across multiple pages, if required.
2.81.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 returned results. |
string |
|
2.81.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.81.4. Produces
-
application/json
2.81.5. Tags
-
Budget Management
2.81.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.82. Gets specific budget details accessible to a specified user for a specified base store based on budget code
GET /{baseSiteId}/users/{userId}/budgets/{budgetCode}
2.82.1. Description
Returns specific budget details accessible to a specified user for a specified base store based on budget code. The response contains detailed order information.
2.82.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
budgetCode |
Budget GUID (Globally Unique Identifier) or budget 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.82.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.82.4. Produces
-
application/json
2.82.5. Tags
-
Budget Management
2.82.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.83. Updates the budget
PATCH /{baseSiteId}/users/{userId}/budgets/{budgetCode}
2.83.1. Description
Updates the budget. Only attributes provided in the request body will be changed.
2.83.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
budgetCode |
Budget GUID (Globally Unique Identifier) or budget 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 |
|
Body |
budget |
Budget. |
2.83.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.83.4. Consumes
-
application/json
2.83.5. Produces
-
application/json
2.83.6. Tags
-
Budget Management
2.83.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.84. Creates or restore a cart for a user.
POST /{baseSiteId}/users/{userId}/carts
2.84.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.84.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.84.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
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. Get all customer carts.
GET /{baseSiteId}/users/{userId}/carts
2.85.1. Description
Lists all customer carts.
2.85.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.85.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.85.4. Tags
-
Carts
2.85.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.86. Gets the current cart.
GET /{baseSiteId}/users/{userId}/carts/current
2.86.1. Description
Gets the current cart.
2.86.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.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
-
B2B Carts
2.86.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.87. Get a cart with a given identifier.
GET /{baseSiteId}/users/{userId}/carts/{cartId}
2.87.1. Description
Returns the cart with a given identifier.
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 |
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
-
Carts
2.87.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.88. Deletes a cart with a given cart id.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}
2.88.1. Description
Deletes a cart with a given cart id.
2.88.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.88.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.88.4. Tags
-
Carts
2.88.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.89. Creates a delivery address for the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.89.1. Description
Creates an address and assigns it to the cart as the delivery address.
2.89.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.89.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.89.4. Consumes
-
application/xml -
application/json
2.89.5. Tags
-
Cart Addresses
2.89.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.90. Sets a delivery address for the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.90.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.90.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.90.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.90.4. Consumes
-
application/json
2.90.5. Tags
-
Cart Addresses
2.90.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.91. Deletes the delivery address from the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/addresses/delivery
2.91.1. Description
Deletes the delivery address from the cart.
2.91.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.91.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.91.4. Tags
-
Cart Addresses
2.91.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.92. Explicitly clones a cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/clonesavedcart
2.92.1. Description
Explicitly clones a cart.
2.92.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.92.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.92.4. Consumes
-
application/json
2.92.5. Tags
-
Save Cart
2.92.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.93. Handles the consolidating pickup locations.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/consolidate
2.93.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.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 |
|
Query |
storeName |
The name of the store where items will be picked up |
string |
2.93.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.93.4. Consumes
-
application/json
2.93.5. Tags
-
Extended Carts
2.93.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.94. Get consolidated pickup options.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/consolidate
2.94.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.94.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.94.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.94.4. Tags
-
Extended Carts
2.94.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.95. Sets the cost center for the checkout cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/costcenter
2.95.1. Description
Sets the cost center for the checkout cart.
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 |
costCenterId |
The id of the cost center. |
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.95.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.95.4. Consumes
-
application/json
2.95.5. Tags
-
B2B Carts
2.95.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.96. Get the delivery mode selected for the cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.96.1. Description
Returns the delivery mode selected for the cart.
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 |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.96.4. Tags
-
Cart Delivery Modes
2.96.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.97. Sets the delivery mode for a cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.97.1. Description
Sets the delivery mode with a given identifier for the cart.
2.97.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.97.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.97.4. Consumes
-
application/json
2.97.5. Tags
-
Cart Delivery Modes
2.97.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.98. Deletes the delivery mode from the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymode
2.98.1. Description
Deletes the delivery mode from the 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
-
Cart Delivery Modes
2.98.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.99. Get all delivery modes for the current store and delivery address.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/deliverymodes
2.99.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.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 |
|
2.99.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.99.4. Tags
-
Cart Delivery Modes
2.99.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.100. Assigns an email to the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/email
2.100.1. Description
Assigns an email to the cart. This step is required to make a guest checkout.
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 |
email |
Email of the guest user. It will be used during the checkout process. |
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
-
Carts
2.100.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.101. Adds a product to the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/entries
2.101.1. Description
Adds a product to the cart.
2.101.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.101.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.101.4. Consumes
-
application/xml -
application/json
2.101.5. Tags
-
Cart Entries
2.101.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.102. Get cart entries.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/entries
2.102.1. Description
Returns cart entries.
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 Entries
2.102.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.103. Get the details of the cart entries.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.103.1. Description
Returns the details of the cart entries.
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 |
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.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 Entries
2.103.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.104. Set quantity and store details of a cart entry.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.104.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.104.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.104.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.104.4. Consumes
-
application/xml -
application/json
2.104.5. Tags
-
Cart Entries
2.104.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.105. Deletes cart entry.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.105.1. Description
Deletes cart entry.
2.105.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.105.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.105.4. Tags
-
Cart Entries
2.105.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.106. Update quantity and store details of a cart entry.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/entries/{entryNumber}
2.106.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.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 |
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.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/xml -
application/json
2.106.5. Tags
-
Cart Entries
2.106.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.107. Add a product to a cart entry group.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/entrygroups/{entryGroupNumber}
2.107.1. Description
Adds a product to a cart entry group.
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 |
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.107.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.107.4. Consumes
-
application/json
2.107.5. Tags
-
Cart Entry Groups
2.107.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.108. Delete an entry group.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/entrygroups/{entryGroupNumber}
2.108.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.108.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.108.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.108.4. Tags
-
Cart Entry Groups
2.108.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.109. Flag a cart for deletion.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/flagForDeletion
2.109.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.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 |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.109.4. Consumes
-
application/json
2.109.5. Tags
-
Save Cart
2.109.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.110. Get information needed for create subscription
GET /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/request
2.110.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.110.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.110.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.110.4. Tags
-
Extended Carts
2.110.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.111. Handles response from payment provider and create payment details
POST /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.111.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.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 |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.111.4. Consumes
-
application/json
2.111.5. Tags
-
Extended Carts
2.111.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.112. Get information about create subscription request results
GET /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.112.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.112.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.112.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.112.4. Tags
-
Extended Carts
2.112.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.113. Deletes payment provider response related to cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/payment/sop/response
2.113.1. Description
Deletes the payment provider response related to the specified cart.
2.113.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.113.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.113.4. Tags
-
Extended Carts
2.113.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.114. Defines and assigns details of a new credit card payment to the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/paymentdetails
2.114.1. Description
Defines the details of a new credit card, and assigns this payment option to the cart.
2.114.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.114.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.114.4. Consumes
-
application/xml -
application/json
2.114.5. Tags
-
Cart Payments
2.114.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.115. Sets credit card payment details for the cart.
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/paymentdetails
2.115.1. Description
Sets credit card payment details for the cart.
2.115.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.115.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.115.4. Consumes
-
application/json
2.115.5. Tags
-
Cart Payments
2.115.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.116. Set the payment type for the checkout cart
PUT /{baseSiteId}/users/{userId}/carts/{cartId}/paymenttype
2.116.1. Description
Sets the payment type for the checkout cart. If the purchaseOrderNumber is not null, the purchaseOrderNumber is also assigned to the cart.
2.116.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 |
paymentType |
Payment type choice (between card and account). |
string |
|
Query |
purchaseOrderNumber |
Purchase order number to assign to the checkout cart. |
string |
2.116.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.116.4. Consumes
-
application/json
2.116.5. Tags
-
B2B Carts
2.116.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.117. Enables promotions based on the promotionsId of the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/promotions
2.117.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.117.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.117.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.117.4. Consumes
-
application/json
2.117.5. Tags
-
Cart Promotions
2.117.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.118. Get information about promotions applied on cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/promotions
2.118.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.118.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.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. Tags
-
Cart Promotions
2.118.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.119. Get information about promotion applied on cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/promotions/{promotionId}
2.119.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.119.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.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. Tags
-
Cart Promotions
2.119.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.120. Disables the promotion based on the promotionsId of the cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/promotions/{promotionId}
2.120.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.120.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.120.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.120.4. Tags
-
Cart Promotions
2.120.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.121. Restore a saved cart.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/restoresavedcart
2.121.1. Description
Restore a saved cart.
2.121.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.121.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.121.4. Consumes
-
application/json
2.121.5. Tags
-
Save Cart
2.121.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.122. Explicitly saves a cart.
PATCH /{baseSiteId}/users/{userId}/carts/{cartId}/save
2.122.1. Description
Explicitly saves a cart.
2.122.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.122.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.122.4. Consumes
-
application/json
2.122.5. Tags
-
Save Cart
2.122.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.123. Get a saved cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/savedcart
2.123.1. Description
Returns a saved cart for an authenticated user. The cart is identified using the "cartId" parameter.
2.123.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.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. Tags
-
Save Cart
2.123.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.124. Validates the cart
POST /{baseSiteId}/users/{userId}/carts/{cartId}/validate
2.124.1. Description
Runs a cart validation and returns the result.
2.124.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.124.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.124.4. Consumes
-
application/json
2.124.5. Tags
-
Carts
2.124.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.125. Applies a voucher based on the voucherId defined for the cart.
POST /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers
2.125.1. Description
Applies a voucher based on the voucherId defined for the cart.
2.125.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.125.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.125.4. Consumes
-
application/json
2.125.5. Tags
-
Cart Promotions
2.125.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.126. Get a list of vouchers applied to the cart.
GET /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers
2.126.1. Description
Returns a list of vouchers applied to the cart.
2.126.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.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. Tags
-
Cart Promotions
2.126.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.127. Deletes a voucher defined for the current cart.
DELETE /{baseSiteId}/users/{userId}/carts/{cartId}/vouchers/{voucherId}
2.127.1. Description
Deletes a voucher based on the voucherId defined for the current cart.
2.127.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.127.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.127.4. Tags
-
Cart Promotions
2.127.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.128. A user can give consent.
POST /{baseSiteId}/users/{userId}/consents
2.128.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.128.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.128.3. Consumes
-
application/json
2.128.4. Tags
-
Consents
2.128.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.129. Withdraw the user consent for a given consent code.
DELETE /{baseSiteId}/users/{userId}/consents/{consentCode}
2.129.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.129.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.129.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.129.4. Tags
-
Consents
2.129.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.130. Fetch the list of consents
GET /{baseSiteId}/users/{userId}/consenttemplates
2.130.1. Description
If user has not given or withdrawn consent to any of the template, no given or withdraw date is returned.
2.130.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.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. Tags
-
Consents
2.130.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.131. Fetch the consent.
GET /{baseSiteId}/users/{userId}/consenttemplates/{consentTemplateId}
2.131.1. Description
If user has not given or withdrawn consent to the template, no given or withdraw date is returned.
2.131.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.131.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.131.4. Tags
-
Consents
2.131.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.132. Get all customer groups of a customer.
GET /{baseSiteId}/users/{userId}/customergroups
2.132.1. Description
Returns all customer groups of a customer.
2.132.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.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. Tags
-
Users
2.132.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.133. Get user’s entitlement instances
GET /{baseSiteId}/users/{userId}/entitlementInstances
2.133.1. Description
Returns user’s entitlement instances.
2.133.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. Example: BASIC, DEFAULT, FULL. |
string |
|
Query |
pageSize |
The number of results returned per page. |
integer (int32) |
|
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
-
Entitlement Instances
2.133.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.134. Get entitlement instance details
GET /{baseSiteId}/users/{userId}/entitlementInstances/{entitlementInstanceId}
2.134.1. Description
Returns details of a specific entitlement instance based on the entitlement number.
2.134.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
entitlementInstanceId |
Number of the entitlement instance. |
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. Example: BASIC, DEFAULT, FULL. |
string |
|
2.134.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.134.4. Produces
-
application/json
2.134.5. Tags
-
Entitlement Instances
2.134.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.135. Gets the future product availability for the list of specified products.
GET /{baseSiteId}/users/{userId}/futureStocks
2.135.1. Description
Returns a list of product codes with a list of future product availability.
2.135.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.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
-
Future Stocks
2.135.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.136. Gets the future product availability for the specified product.
GET /{baseSiteId}/users/{userId}/futureStocks/{productCode}
2.136.1. Description
Returns a list of future product availability of the specified product.
2.136.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.136.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.136.4. Produces
-
application/json
2.136.5. Tags
-
Future Stocks
2.136.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.137. Changes customer’s login name.
PUT /{baseSiteId}/users/{userId}/login
2.137.1. Description
Changes a customer’s login name. Requires the customer’s current password.
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 |
Query |
newLogin |
Customer’s new login name. Customer login is case insensitive. |
string |
Query |
password |
Customer’s current password. |
string |
2.137.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.137.4. Consumes
-
application/json
2.137.5. Tags
-
Users
2.137.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.138. Notify about successful login.
POST /{baseSiteId}/users/{userId}/loginnotification
2.138.1. Description
Publish notification event about successful login.
2.138.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.138.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.138.4. Consumes
-
application/json
2.138.5. Tags
-
Login Notification
2.138.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.139. Create a new order approval permission.
POST /{baseSiteId}/users/{userId}/orderApprovalPermissions
2.139.1. Description
Creates a new order approval permission.
2.139.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 |
orderApprovalPermission |
Order Approval Permission object. |
2.139.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.139.4. Consumes
-
application/json
2.139.5. Produces
-
application/json
2.139.6. Tags
-
Order Approval Permissions
2.139.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.140. Get order approval permissions.
GET /{baseSiteId}/users/{userId}/orderApprovalPermissions
2.140.1. Description
Returns the list of order approval permissions for the company of the identified user. The response can display the results across multiple pages, if required.
2.140.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.140.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.140.4. Produces
-
application/json
2.140.5. Tags
-
Order Approval Permissions
2.140.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.141. Get an order approval permission.
GET /{baseSiteId}/users/{userId}/orderApprovalPermissions/{orderApprovalPermissionCode}
2.141.1. Description
Returns a specific order approval permission based on specific code. The response contains detailed order approval permission information.
2.141.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orderApprovalPermissionCode |
Order Approval Permission 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. Produces
-
application/json
2.141.5. Tags
-
Order Approval Permissions
2.141.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.142. Update the order approval permission
PATCH /{baseSiteId}/users/{userId}/orderApprovalPermissions/{orderApprovalPermissionCode}
2.142.1. Description
Updates the order approval permission. Only attributes provided in the request body will be changed.
2.142.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orderApprovalPermissionCode |
Order Approval Permission 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 |
orderApprovalPermission |
Order Approval Permission object. |
2.142.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.142.4. Consumes
-
application/json
2.142.5. Produces
-
application/json
2.142.6. Tags
-
Order Approval Permissions
2.142.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.143. Create an order return request.
POST /{baseSiteId}/users/{userId}/orderReturns
2.143.1. Description
Creates an order return request.
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 |
|
Body |
returnRequestEntryInputList |
Return request input list for the current order. |
2.143.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.143.4. Consumes
-
application/json
2.143.5. Produces
-
application/json
2.143.6. Tags
-
Return Requests
2.143.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.144. Gets the user’s return requests history
GET /{baseSiteId}/users/{userId}/orderReturns
2.144.1. Description
Returns order return request data associated with a specified user for a specified base store.
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 |
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.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
-
Return Requests
2.144.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.145. Get the details of a return request.
GET /{baseSiteId}/users/{userId}/orderReturns/{returnRequestCode}
2.145.1. Description
Returns specific order return request details based on a specific return request code. The response contains detailed order return request information.
2.145.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.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
-
Return Requests
2.145.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.146. Updates the order return request.
PATCH /{baseSiteId}/users/{userId}/orderReturns/{returnRequestCode}
2.146.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.146.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.146.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.146.4. Consumes
-
application/json
2.146.5. Produces
-
application/json
2.146.6. Tags
-
Return Requests
2.146.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.147. Get orders to approve.
GET /{baseSiteId}/users/{userId}/orderapprovals
2.147.1. Description
Returns the list of orders the specified user is allowed to approve.
2.147.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.147.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.147.4. Produces
-
application/json
2.147.5. Tags
-
Order Approvals
2.147.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.148. Get an order to approve.
GET /{baseSiteId}/users/{userId}/orderapprovals/{orderApprovalCode}
2.148.1. Description
Returns specific order details based on a specific order code. The response contains detailed order information.
2.148.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orderApprovalCode |
Code that identifies the order approval. |
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.148.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.148.4. Produces
-
application/json
2.148.5. Tags
-
Order Approvals
2.148.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.149. Makes an approval decision for an order.
POST /{baseSiteId}/users/{userId}/orderapprovals/{orderApprovalCode}/decision
2.149.1. Description
Makes a decision on the order approval that will trigger the next step in the approval workflow.
2.149.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orderApprovalCode |
Code that identifies the order approval. |
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 |
orderApprovalDecision |
The order approval decision. The approval decision field is mandatory, and the approval comment field is mandatory if the decision is 'rejected'. |
2.149.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.149.4. Consumes
-
application/json
2.149.5. Produces
-
application/json
2.149.6. Tags
-
Order Approvals
2.149.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.150. Place a order.
POST /{baseSiteId}/users/{userId}/orders
2.150.1. Description
Authorizes the cart and places the order. The response contains the new order data.
2.150.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.150.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.150.4. Consumes
-
application/json
2.150.5. Tags
-
Orders
2.150.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.151. Get order history for user.
GET /{baseSiteId}/users/{userId}/orders
2.151.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.151.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.151.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.151.4. Tags
-
Orders
2.151.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.152. Get total number of orders.
HEAD /{baseSiteId}/users/{userId}/orders
2.152.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.152.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.152.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.152.4. Consumes
-
application/json
2.152.5. Tags
-
Orders
2.152.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.153. Get a order.
GET /{baseSiteId}/users/{userId}/orders/{code}
2.153.1. Description
Returns specific order details based on a specific order code. The response contains detailed order information.
2.153.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.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. Cancel an order.
POST /{baseSiteId}/users/{userId}/orders/{code}/cancellation
2.154.1. Description
Cancels an order partially or completely
2.154.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.154.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.154.4. Consumes
-
application/json
2.154.5. Produces
-
application/json
2.154.6. Tags
-
Orders
2.154.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.155. Registers a org customer
POST /{baseSiteId}/users/{userId}/orgCustomers
2.155.1. Description
Creates a new organizational customer.
2.155.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 |
orgCustomerCreation |
Data object that contains information necessary for user creation |
2.155.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.155.4. Consumes
-
application/json
2.155.5. Tags
-
Organizational Unit Customer Management
2.155.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.156. Gets the list of org customers for a specified base store
GET /{baseSiteId}/users/{userId}/orgCustomers
2.156.1. Description
Returns the list of org customers for a specified base store. The response can display the results across multiple pages, if required.
2.156.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 returned results. |
string |
|
2.156.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.156.4. Produces
-
application/json
2.156.5. Tags
-
Organizational Unit Customer Management
2.156.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.157. Get a org customer profile
GET /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}
2.157.1. Description
Returns a org customer profile.
2.157.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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. |
enum (BASIC, DEFAULT, FULL) |
|
2.157.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.157.4. Tags
-
Organizational Unit Customer Management
2.157.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.158. Updates org customer profile
PATCH /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}
2.158.1. Description
Updates org customer profile. Only attributes provided in the request body will be changed.
2.158.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgCustomerId |
Org Customer GUID (Globally Unique Identifier). |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
orgCustomerModification |
Data object which contains information necessary for user modification |
2.158.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.158.4. Consumes
-
application/json
2.158.5. Tags
-
Organizational Unit Customer Management
2.158.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.159. Gets the list of approvers for an specified org customer
GET /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/approvers
2.159.1. Description
Returns the list of approvers for an specified org customer. The response can display the results across multiple pages, if required.
2.159.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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 returned results. |
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. Produces
-
application/json
2.159.5. Tags
-
Organizational Unit Customer Management
2.159.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.160. Add an approver to an specific org customer
POST /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/approvers/{approverId}
2.160.1. Description
Add an approver to an specific org customer
2.160.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
approverId |
Approver GUID (Globally Unique Identifier). |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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.160.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.160.4. Consumes
-
application/json
2.160.5. Produces
-
application/json
2.160.6. Tags
-
Organizational Unit Customer Management
2.160.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.161. Deletes an approver from an specific org customer with the provided approverId
DELETE /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/approvers/{approverId}
2.161.1. Description
Deletes an approver from an specific org customer with the provided approverId
2.161.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
approverId |
Approver GUID (Globally Unique Identifier). |
string |
|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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.161.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.161.4. Produces
-
application/json
2.161.5. Tags
-
Organizational Unit Customer Management
2.161.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.162. Gets the list of org user groups for a specified org customer
GET /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/orgUserGroups
2.162.1. Description
Returns the list of org user gruops for a specified org customer. The response can display the results across multiple pages, if required.
2.162.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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 returned results. |
string |
|
2.162.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.162.4. Produces
-
application/json
2.162.5. Tags
-
Organizational Unit Customer Management
2.162.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.163. Add an org user group to an specific org customer
POST /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/orgUserGroups/{userGroupId}
2.163.1. Description
Add an org user group to an specific org customer
2.163.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique Identifier). |
string |
|
Path |
userGroupId |
Org User Group GUID (Globally Unique 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.163.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.163.4. Consumes
-
application/json
2.163.5. Produces
-
application/json
2.163.6. Tags
-
Organizational Unit Customer Management
2.163.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.164. Deletes an org user group from an specific org customer with the provided orgUserGroupId
DELETE /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/orgUserGroups/{userGroupId}
2.164.1. Description
Deletes an org user group from an specific org customer with the provided orgUserGroupId
2.164.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgCustomerId |
Org Customer GUID (Globally Unique Identifier). |
string |
Path |
userGroupId |
Org User Group GUID (Globally Unique Identifier). |
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 |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.164.4. Produces
-
application/json
2.164.5. Tags
-
Organizational Unit Customer Management
2.164.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.165. Gets the list of permissions for an org customer
GET /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/permissions
2.165.1. Description
Returns the list of permissions for a user. The response can display the results across multiple pages, if required.
2.165.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique 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 returned results. |
string |
|
2.165.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.165.4. Produces
-
application/json
2.165.5. Tags
-
Organizational Unit Customer Management
2.165.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.166. Add a permission to an specific org customer
POST /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/permissions/{permissionId}
2.166.1. Description
Add a permission to an specific org customer
2.166.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique Identifier). |
string |
|
Path |
permissionId |
Permission GUID (Globally Unique 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.166.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.166.4. Consumes
-
application/json
2.166.5. Produces
-
application/json
2.166.6. Tags
-
Organizational Unit Customer Management
2.166.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.167. Deletes a permission from an specific org customer with the provided permissionId
DELETE /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/permissions/{permissionId}
2.167.1. Description
Deletes a permission from an specific org customer with the provided permissionId
2.167.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Org Customer GUID (Globally Unique Identifier). |
string |
|
Path |
permissionId |
Permission GUID (Globally Unique 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.167.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.167.4. Produces
-
application/json
2.167.5. Tags
-
Organizational Unit Customer Management
2.167.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.168. Add a role to a specific organizational customer
POST /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/roles
2.168.1. Description
Adds a role to a specific organizational customer
2.168.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Identifier of the organizational customer which the role will be added. |
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 |
roleId |
The role which is added to the organizational customer. Example roles are: b2badmingroup, b2bmanagergroup, b2bcustomergroup |
string |
2.168.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.168.4. Consumes
-
application/json
2.168.5. Produces
-
application/json
2.168.6. Tags
-
Organizational Unit Management
2.168.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.169. Remove a role from a specific organizational customer
DELETE /{baseSiteId}/users/{userId}/orgCustomers/{orgCustomerId}/roles/{roleId}
2.169.1. Description
Removes a role from a specific organizational customer
2.169.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgCustomerId |
Identifier of the organizational customer which the role will be removed. |
string |
|
Path |
roleId |
The role which is removed from the user. Example roles are: b2badmingroup, b2bmanagergroup, b2bcustomergroup |
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.169.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.169.4. Produces
-
application/json
2.169.5. Tags
-
Organizational Unit Management
2.169.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.170. Creates a new organizational unit user group
POST /{baseSiteId}/users/{userId}/orgUnitUserGroups
2.170.1. Description
Creates a new organizational unit user group.
2.170.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 |
orgUnitUserGroup |
Organizational unit user group object. |
2.170.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.170.4. Consumes
-
application/json
2.170.5. Produces
-
application/json
2.170.6. Tags
-
Organizational Unit User Groups
2.170.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.171. Gets the list of organizational unit user groups for a specified base store
GET /{baseSiteId}/users/{userId}/orgUnitUserGroups
2.171.1. Description
Returns the list of organizational unit user groups accessible for a specified base store.
2.171.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 returned results. |
string |
|
2.171.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.171.4. Produces
-
application/json
2.171.5. Tags
-
Organizational Unit User Groups
2.171.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.172. Gets specific organizational unit user group details accessible for a specified base store based on user group code
GET /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}
2.172.1. Description
Returns specific UserGroup details accessible for a specified base store based on UserGroup code. The response contains detailed order information.
2.172.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitUserGroupId |
Organizational unit user group 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.172.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.172.4. Produces
-
application/json
2.172.5. Tags
-
Organizational Unit User Groups
2.172.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.173. Removes the organizational unit user group
DELETE /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}
2.173.1. Description
Removes the organizational unit user group.
2.173.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitUserGroupId |
Organizational unit user group identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.173.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.173.4. Produces
-
application/json
2.173.5. Tags
-
Organizational Unit User Groups
2.173.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.174. Updates the organizational unit user group
PATCH /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}
2.174.1. Description
Updates the organizational unit user group. Only attributes provided in the request body will be changed.
2.174.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitUserGroupId |
Organizational unit user group identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
orgUnitUserGroup |
Organizational unit user group object. |
2.174.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.174.4. Consumes
-
application/json
2.174.5. Produces
-
application/json
2.174.6. Tags
-
Organizational Unit User Groups
2.174.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.175. Gets the list of order approval permissions for a specified organizational unit user group
GET /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/availableOrderApprovalPermissions
2.175.1. Description
Returns the list of order approval permissions who can belong to a specific organizational unit user group. Order approval permissions who already belong to the user group are flagged by 'selected' attribute.
2.175.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitUserGroupId |
Organizational unit user group 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 returned results. |
string |
|
2.175.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.175.4. Produces
-
application/json
2.175.5. Tags
-
Organizational Unit User Groups
2.175.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.176. Gets the list of organizational customers for a specified organizational unit user group
GET /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/availableOrgCustomers
2.176.1. Description
Returns the list of organizational customers who can belong to a specific organizational unit user group. Users who already belong to the user group are flagged by 'selected' attribute.
2.176.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitUserGroupId |
Organizational unit user group 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 returned results. |
string |
|
2.176.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.176.4. Produces
-
application/json
2.176.5. Tags
-
Organizational Unit User Groups
2.176.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.177. Add an organizational customer to a specific unit user group members
POST /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/members
2.177.1. Description
Adds an organizational customer to a specific unit user group members
2.177.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitUserGroupId |
Organizational unit user group identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
orgCustomerId |
Identifier of the organizational customer which will be added to the organizational unit user group members |
string |
2.177.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.177.4. Consumes
-
application/json
2.177.5. Produces
-
application/json
2.177.6. Tags
-
Organizational Unit User Groups
2.177.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.178. Removes all organizational customers in the organizational unit user group members
DELETE /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/members
2.178.1. Description
Removes all organizational customers in the organizational unit user group members which marks the user group disabled until a new member is added
2.178.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitUserGroupId |
Organizational unit user group identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.178.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.178.4. Produces
-
application/json
2.178.5. Tags
-
Organizational Unit User Groups
2.178.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.179. Remove an organizational customer from the organizational unit user group members
DELETE /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/members/{orgCustomerId}
2.179.1. Description
Removes an organizational customer from the organizational unit user group members
2.179.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgCustomerId |
Identifier of the organizational customer which will be removed from the organizational unit user group members |
string |
Path |
orgUnitUserGroupId |
Organizational unit user group identifier |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.179.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.179.4. Produces
-
application/json
2.179.5. Tags
-
Organizational Unit User Groups
2.179.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.180. Add an order approval permission to a specific organizational unit user group
POST /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/orderApprovalPermissions
2.180.1. Description
Adds an order approval permission to a specific organizational unit user group
2.180.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitUserGroupId |
Identifier of the organizational unit user group which the order approval permission will be added. |
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 |
orderApprovalPermissionCode |
Order approval permission identifier which is added to the organizational unit user group. |
string |
2.180.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.180.4. Consumes
-
application/json
2.180.5. Produces
-
application/json
2.180.6. Tags
-
Organizational Unit User Groups
2.180.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.181. Remove an order approval permission from a specific organizational unit user group
DELETE /{baseSiteId}/users/{userId}/orgUnitUserGroups/{orgUnitUserGroupId}/orderApprovalPermissions/{orderApprovalPermissionCode}
2.181.1. Description
Removes an order approval permission from a specific organizational unit user group
2.181.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orderApprovalPermissionCode |
Order approval permission identifier which is removed from the organizational unit user group. |
string |
|
Path |
orgUnitUserGroupId |
Organizational unit user group identifier which is added to the organizational customer. |
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.181.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.181.4. Produces
-
application/json
2.181.5. Tags
-
Organizational Unit User Groups
2.181.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.182. Create a new organizational unit.
POST /{baseSiteId}/users/{userId}/orgUnits
2.182.1. Description
Creates a new organizational unit.
2.182.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 |
orgUnit |
Organizational Unit object. |
2.182.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.182.4. Consumes
-
application/json
2.182.5. Produces
-
application/json
2.182.6. Tags
-
Organizational Unit Management
2.182.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.183. Get an organizational unit.
GET /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}
2.183.1. Description
Returns a specific organizational unit based on specific id. The response contains detailed organizational unit information.
2.183.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitId |
Organizational Unit 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.183.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.183.4. Produces
-
application/json
2.183.5. Tags
-
Organizational Unit Management
2.183.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.184. Update the organizational unit
PATCH /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}
2.184.1. Description
Updates the organizational unit. Only attributes provided in the request body will be changed.
2.184.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitId |
Organizational Unit identifier. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
orgUnit |
Organizational Unit object. |
2.184.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.184.4. Consumes
-
application/json
2.184.5. Produces
-
application/json
2.184.6. Tags
-
Organizational Unit Management
2.184.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.185. Create a new organizational unit address
POST /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/addresses
2.185.1. Description
Creates a new organizational unit address
2.185.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitId |
Organizational unit 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 |
|
Body |
address |
Address object. |
2.185.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.185.4. Consumes
-
application/json
2.185.5. Produces
-
application/json
2.185.6. Tags
-
Organizational Unit Management
2.185.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.186. Get organizational unit addresses
GET /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/addresses
2.186.1. Description
Retrieves organizational unit addresses
2.186.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitId |
Organizational unit 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.186.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.186.4. Produces
-
application/json
2.186.5. Tags
-
Organizational Unit Management
2.186.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.187. Remove the organizational unit address.
DELETE /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/addresses/{addressId}
2.187.1. Description
Removes the organizational unit address.
2.187.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
addressId |
Address id. |
string |
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitId |
Organizational unit id. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.187.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.187.4. Produces
-
application/json
2.187.5. Tags
-
Organizational Unit Management
2.187.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.188. Update the organizational unit address.
PATCH /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/addresses/{addressId}
2.188.1. Description
Updates the organizational unit address. Only attributes provided in the request body will be changed.
2.188.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
addressId |
Address id. |
string |
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgUnitId |
Organizational unit id. |
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.188.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.188.4. Consumes
-
application/json
2.188.5. Produces
-
application/json
2.188.6. Tags
-
Organizational Unit Management
2.188.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.189. Get available parent units.
GET /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/availableParents
2.189.1. Description
Returns a list of parent units for which the unit with id can be assigned as a child.
2.189.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitId |
Organizational Unit 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.189.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.189.4. Produces
-
application/json
2.189.5. Tags
-
Organizational Unit Management
2.189.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.190. Get users who belongs to the organization unit.
GET /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/availableUsers/{roleId}
2.190.1. Description
Returns list of users which belongs to the organizational unit and can be assigned to a specific role. Users who are already assigned to the role are flagged by 'selected' attribute.
2.190.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
orgUnitId |
Organizational unit id. |
string |
|
Path |
roleId |
Filtering parameter which is used to return a specific role. Example roles are: b2bapprovergroup, b2badmingroup, b2bmanagergroup, b2bcustomergroup |
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 display search results. |
string |
2.190.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.190.4. Produces
-
application/json
2.190.5. Tags
-
Organizational Unit Management
2.190.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.191. Add an organizational unit dependent role to a specific organizational customer
POST /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/orgCustomers/{orgCustomerId}/roles
2.191.1. Description
Adds an organizational unit dependent role to a specific organizational customer
2.191.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgCustomerId |
Identifier of the organizational customer which the role will be added. |
string |
Path |
orgUnitId |
Organizational unit id. |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Query |
roleId |
The role which is added to the user. Example roles are: b2bapprovergroup |
string |
2.191.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.191.4. Consumes
-
application/json
2.191.5. Produces
-
application/json
2.191.6. Tags
-
Organizational Unit Management
2.191.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.192. Remove an organizational unit dependent role from a specific organizational customer.
DELETE /{baseSiteId}/users/{userId}/orgUnits/{orgUnitId}/orgCustomers/{orgCustomerId}/roles/{roleId}
2.192.1. Description
Removes an organizational unit dependent role from a specific organizational customer.
2.192.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
orgCustomerId |
Identifier of the organizational customer which the role will be removed. |
string |
Path |
orgUnitId |
Organizational unit id. |
string |
Path |
roleId |
The role which is removed from the user. Example roles are: b2bapprovergroup, b2badmingroup, b2bmanagergroup, b2bcustomergroup |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
2.192.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.192.4. Produces
-
application/json
2.192.5. Tags
-
Organizational Unit Management
2.192.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.193. Get available approval business processes.
GET /{baseSiteId}/users/{userId}/orgUnitsAvailableApprovalProcesses
2.193.1. Description
Returns list of available approval business processes.
2.193.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.193.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.193.4. Produces
-
application/json
2.193.5. Tags
-
Organizational Unit Management
2.193.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.194. Get the root organizational unit node.
GET /{baseSiteId}/users/{userId}/orgUnitsRootNodeTree
2.194.1. Description
Returns the root organizational unit node. The response contains detailed organizational unit node information and the child nodes associated to it.
2.194.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.194.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.194.4. Produces
-
application/json
2.194.5. Tags
-
Organizational Unit Management
2.194.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.195. Changes customer’s password
PUT /{baseSiteId}/users/{userId}/password
2.195.1. Description
Changes customer’s password.
2.195.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.195.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.195.4. Consumes
-
application/json
2.195.5. Tags
-
Users
2.195.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.196. Get customer’s credit card payment details list.
GET /{baseSiteId}/users/{userId}/paymentdetails
2.196.1. Description
Return customer’s credit card payment details list.
2.196.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.196.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.196.4. Tags
-
Payment Details
2.196.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.197. Get customer’s credit card payment details.
GET /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.197.1. Description
Returns a customer’s credit card payment details for the specified paymentDetailsId.
2.197.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.197.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.197.4. Tags
-
Payment Details
2.197.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.198. Updates existing customer’s credit card payment info.
PUT /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.198.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.198.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.198.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.198.4. Consumes
-
application/xml -
application/json
2.198.5. Tags
-
Payment Details
2.198.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.199. Deletes customer’s credit card payment details.
DELETE /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.199.1. Description
Deletes a customer’s credit card payment details based on a specified paymentDetailsId.
2.199.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.199.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.199.4. Tags
-
Payment Details
2.199.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.200. Updates existing customer’s credit card payment details.
PATCH /{baseSiteId}/users/{userId}/paymentdetails/{paymentDetailsId}
2.200.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.200.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.200.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.200.4. Consumes
-
application/xml -
application/json
2.200.5. Tags
-
Payment Details
2.200.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.201. Request a quote.
POST /{baseSiteId}/users/{userId}/quotes
2.201.1. Description
In the edit state the quote can be requested via cartId, the current content of a cart will be then linked with the quote. The requote action can be triggered by providing the quoteCode parameter, instead of cartId inside the body. The response will contain the new quote’s data.
2.201.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 |
quoteStarter |
Object representing ways of creating new quote - by cartId for creating a new quote from the cart, by quoteCode for the requote action |
2.201.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.201.4. Consumes
-
application/json
2.201.5. Produces
-
application/json
2.201.6. Tags
-
Quotes
2.201.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.202. Get all quotes for user.
GET /{baseSiteId}/users/{userId}/quotes
2.202.1. Description
Returns history data for all quotes requested by a specified user for a specified base store. The response can display the results across multiple pages, if required.
2.202.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.202.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.202.4. Produces
-
application/json
2.202.5. Tags
-
Quotes
2.202.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.203. Get a specific quote.
GET /{baseSiteId}/users/{userId}/quotes/{quoteCode}
2.203.1. Description
Returns quote details based on a specific quote code. The response contains detailed quote information
2.203.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
quoteCode |
Identifying code of the quote |
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.203.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.203.4. Produces
-
application/json
2.203.5. Tags
-
Quotes
2.203.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.204. Edit the quote.
PUT /{baseSiteId}/users/{userId}/quotes/{quoteCode}
2.204.1. Description
Updates name, description or expiry date of the quote.
2.204.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
metadata |
Updated name, description or expiry date of the quote |
2.204.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.204.4. Consumes
-
application/json
2.204.5. Tags
-
Quotes
2.204.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.205. Edit the quote.
PATCH /{baseSiteId}/users/{userId}/quotes/{quoteCode}
2.205.1. Description
Updates name, description or expiry date of the quote.
2.205.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
metadata |
Updated name, description or expiry date of the quote |
2.205.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.205.4. Consumes
-
application/json
2.205.5. Tags
-
Quotes
2.205.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.206. Perform workflow actions with the quote.
POST /{baseSiteId}/users/{userId}/quotes/{quoteCode}/action
2.206.1. Description
Perform cancel, submit, edit, checkout, approve, reject actions with the quote.
2.206.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
quoteAction |
The action with the quote. The quote action field is mandatory. |
2.206.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.206.4. Consumes
-
application/json
2.206.5. Tags
-
Quotes
2.206.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.207. Add a comment to a quote.
POST /{baseSiteId}/users/{userId}/quotes/{quoteCode}/comments
2.207.1. Description
Adds a comment to the quote
2.207.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
comment |
Text of the comment |
2.207.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.207.4. Consumes
-
application/json
2.207.5. Tags
-
Quotes
2.207.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.208. Apply a discount to an existing quote.
POST /{baseSiteId}/users/{userId}/quotes/{quoteCode}/discounts
2.208.1. Description
In the edit state, a seller can apply a discount to a quote. Type of the discount - PERCENT for discount by percentage, ABSOLUTE for discount by amount, TARGET for discount by adjustment of the total value
2.208.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
quoteDiscount |
Discount applied to the quote - discountType for type of the discount, discountRate for value of the discount |
2.208.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.208.4. Consumes
-
application/json
2.208.5. Tags
-
Quotes
2.208.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.209. Add a comment to a line item of a quote.
POST /{baseSiteId}/users/{userId}/quotes/{quoteCode}/entries/{entryNumber}/comments
2.209.1. Description
Add a comment to a line item of a quote.
2.209.2. Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
Path |
entryNumber |
The entry number. Each entry in a quote has an entry number. Quote entries are numbered in ascending order, starting with zero (0). |
integer (int64) |
Path |
quoteCode |
Identifying code of the quote |
string |
Path |
userId |
User identifier or one of the literals : 'current' for currently authenticated user, 'anonymous' for anonymous user |
string |
Body |
comment |
Text of the comment |
2.209.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.209.4. Consumes
-
application/json
2.209.5. Tags
-
Quotes
2.209.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.210. Gets the list of replenishment orders for a specified user.
GET /{baseSiteId}/users/{userId}/replenishmentOrders
2.210.1. Description
Returns the list of replenishment orders accessible to a specified user.
2.210.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 returned results. |
string |
|
2.210.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.210.4. Produces
-
application/json
2.210.5. Tags
-
Replenishment Order
2.210.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.211. Gets replenishment order for a specified user and replenishment order code.
GET /{baseSiteId}/users/{userId}/replenishmentOrders/{replenishmentOrderCode}
2.211.1. Description
Returns specific replenishment order details accessible for a specified user. The response contains detailed orders information from the replenishment order.
2.211.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
replenishmentOrderCode |
Unique code for the replenishment order. |
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.211.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.211.4. Produces
-
application/json
2.211.5. Tags
-
Replenishment Order
2.211.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.212. Updates the replenishment order for a specified user and replenishment order code.
PATCH /{baseSiteId}/users/{userId}/replenishmentOrders/{replenishmentOrderCode}
2.212.1. Description
Updates the replenishment order. Only cancellation of the replenishment order is supported by setting the attribute 'active' to FALSE. Cancellation of the replenishment order cannot be reverted.
2.212.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
replenishmentOrderCode |
Unique code for the replenishment order. |
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.212.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.212.4. Consumes
-
application/json
2.212.5. Produces
-
application/json
2.212.6. Tags
-
Replenishment Order
2.212.7. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.213. Gets replenishment order history.
GET /{baseSiteId}/users/{userId}/replenishmentOrders/{replenishmentOrderCode}/orders
2.213.1. Description
Returns order history data from a replenishment order placed by a specified user.
2.213.2. Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
baseSiteId |
Base site identifier |
string |
|
Path |
replenishmentOrderCode |
Unique code for the replenishment order. |
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 returned results. |
string |
|
2.213.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.213.4. Produces
-
application/json
2.213.5. Tags
-
Replenishment Order
2.213.6. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
2.214. Get a voucher based on code.
GET /{baseSiteId}/vouchers/{code}
2.214.1. Description
Returns details of a single voucher that is specified by its voucher identification code.
2.214.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.214.3. Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
2.214.4. Tags
-
Vouchers
2.214.5. Security
| Type | Name |
|---|---|
oauth2 |
|
oauth2 |
3. Definitions
3.1. Address
Request body fields required and optional to operate on address data. The DTO is in XML or .json format
| Name | Description | Schema |
|---|---|---|
cellphone |
Cellphone number |
string |
companyName |
Company Name |
string |
country |
Country where address is located |
|
defaultAddress |
Boolean flag if address is default |
boolean |
district |
District name |
string |
email |
Email address |
string |
firstName |
First name of the address person |
string |
formattedAddress |
Boolean flag if address is formatted |
string |
id |
Unique id value of the address which is optional while creating new address. While performing other address operations this value is the key |
string |
lastName |
Last name of the address person |
string |
line1 |
First line of the address |
string |
line2 |
Second line of the address |
string |
phone |
Phone number |
string |
postalCode |
Postal code of the address |
string |
region |
Region where address belongs to |
|
shippingAddress |
Boolean flag if address is for shipping |
boolean |
title |
Title of the address person |
string |
titleCode |
Code of the title |
string |
town |
Town, field required |
string |
visibleInAddressBook |
Boolean flag if address is visible in the Address Book |
boolean |
3.2. AddressList
Representation of an Address list
| Name | Description | Schema |
|---|---|---|
addresses |
List of addresses |
< Address > array |
3.3. AddressValidation
Representation of an Address Validation
| Name | Description | Schema |
|---|---|---|
decision |
Decision |
string |
errors |
List of errors |
|
suggestedAddresses |
List of suggested addresses |
< Address > array |
3.4. B2BApprovalProcess
Representation of an organizational approval process
| Name | Description | Schema |
|---|---|---|
code |
Code of the Organizational Approval Process |
string |
name |
Name of the Organizational Approval Process |
string |
3.5. B2BApprovalProcessList
Representation of an organizational approval process list
| Name | Description | Schema |
|---|---|---|
approvalProcesses |
List of Organizational Approval Process |
< B2BApprovalProcess > array |
3.6. B2BCostCenter
Representation of a cost center. This bean may have relationships to other Org Unit WsDTO, whose type are WsDTO beans as well.
| Name | Description | Schema |
|---|---|---|
active |
Indication of whether the cost center is active. Deprecated since 2005. Read-only, used for display purposes. |
string |
activeFlag |
Boolean flag of whether the cost center is active. |
boolean |
assignedBudgets |
Budgets assigned to this cost center |
< BudgetShallow > array |
code |
The code of the cost center |
string |
currency |
The currency of the cost center |
|
name |
The name of the cost center |
string |
originalCode |
The original code of the cost center. Deprecated since 2005. |
string |
unit |
The parent unit of the cost center |
3.7. B2BCostCenterList
Representation of a cost center list
| Name | Description | Schema |
|---|---|---|
costCenters |
List of cost centers |
< B2BCostCenter > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.8. B2BCostCenterShallow
Representation of a cost center. This bean is shallow, which means its potential relationship fields to other Org Unit fields are simple ids. No Org Unit WsDTO fields should be declared in this bean to avoid circular references.
| Name | Description | Schema |
|---|---|---|
active |
Indication of whether the cost center is active. Deprecated since 2005. Read-only, used for display purposes. |
string |
activeFlag |
Boolean flag of whether the cost center is active. |
boolean |
code |
The code of the cost center |
string |
currency |
The currency of the cost center |
|
name |
The name of the cost center |
string |
originalCode |
The original code of the cost center. Deprecated since 2005. |
string |
3.9. B2BPaymentType
| Name | Schema |
|---|---|
code |
string |
displayName |
string |
3.10. B2BPaymentTypeData
| Name | Schema |
|---|---|
code |
string |
displayName |
string |
3.11. B2BPaymentTypeList
| Name | Schema |
|---|---|
paymentTypes |
< B2BPaymentType > array |
3.12. B2BSelectionData
Representation of object selection data
| Name | Description | Schema |
|---|---|---|
active |
If this object is active |
boolean |
displayRoles |
display roles |
< string > array |
id |
The ID of the selected object |
string |
normalizedCode |
The normalized code |
string |
roles |
roles |
< string > array |
selected |
If the this object was selected |
boolean |
3.13. B2BUnit
Representation of an organizational unit
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether Organizational Unit is active |
boolean |
addresses |
Addresses of the organizational unit node |
< Address > array |
administrators |
Administrators of the organizational unit node |
< User > array |
approvalProcess |
Approval Process of the organizational unit node |
|
approvers |
Approvers of the organizational unit node |
< User > array |
costCenters |
The cost centers of the organizational unit node |
< B2BCostCenterShallow > array |
customers |
Customers of the organizational unit node |
< User > array |
managers |
Managers of the organizational unit node |
< User > array |
name |
Name of the organizational unit |
string |
parentOrgUnit |
Parent unit of the organizational unit |
|
uid |
Identifier of the organizational unit |
string |
3.14. B2BUnitNode
Representation of an organizational unit node
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether organizational unit represented by the node is active |
boolean |
children |
Child nodes of the organizational unit node |
< B2BUnitNode > array |
id |
Identifier of the organizational unit represented by the node |
string |
name |
Name of the organizational unit represented by the node |
string |
parent |
Unique identifier of organizational unit node’s parent unit |
string |
3.15. B2BUnitNodeList
Representation of an organizational unit node list
| Name | Description | Schema |
|---|---|---|
unitNodes |
List of Unit Nodes |
< B2BUnitNode > array |
3.16. BaseOption
Representation of a Base Option
| Name | Description | Schema |
|---|---|---|
options |
List of all variant options |
< VariantOption > array |
selected |
Variant option selected |
|
variantType |
Variant type of base option |
string |
3.17. BaseSite
Representation of a Base Site
| Name | Description | Schema |
|---|---|---|
channel |
Channel |
string |
defaultLanguage |
Default language for Basesite |
|
defaultPreviewCatalogId |
Default preview catalog id |
string |
defaultPreviewCategoryCode |
Default preview category code |
string |
defaultPreviewProductCode |
Default preview product code |
string |
locale |
Locale data for Basesite |
string |
name |
Name of Basesite |
string |
registrationEnabled |
Indicates if the website supports registration |
boolean |
requiresAuthentication |
Indicates if the BaseSite requires authentication prior to use it |
boolean |
stores |
List of Basestores |
< BaseStore > array |
theme |
Theme of Basesite |
string |
uid |
Unique identifier of Basesite |
string |
urlEncodingAttributes |
List of url encoding attributes |
< string > array |
urlPatterns |
List of url patterns |
< string > array |
3.18. BaseSiteList
Representation of a Base Site List
| Name | Description | Schema |
|---|---|---|
baseSites |
List of basesites |
< BaseSite > array |
3.19. BaseStore
Representation of a Base Store
| Name | Description | Schema |
|---|---|---|
createReturnProcessCode |
Create return process code |
string |
currencies |
List of currencies |
< Currency > array |
defaultCurrency |
Default currency |
|
defaultDeliveryOrigin |
Point of service being default delivery origin |
|
defaultLanguage |
Default language |
|
deliveryCountries |
List of delivery countries |
< Country > array |
deliveryModes |
List of delivery modes |
|
expressCheckoutEnabled |
Flag specifying whether the express checkout option is enabled |
boolean |
externalTaxEnabled |
Flag defining is external tax is enabled |
boolean |
languages |
List of languages |
< Language > array |
maxRadiusForPosSearch |
Maximum radius for searching point of service |
number (double) |
name |
Base store name |
string |
paymentProvider |
Payment provider |
string |
pointsOfService |
List of points of service |
< PointOfService > array |
submitOrderProcessCode |
Submit order process code |
string |
3.20. Breadcrumb
Representation of a Breadcrumb
| Name | Description | Schema |
|---|---|---|
facetCode |
Code of the facet |
string |
facetName |
Name of the facet |
string |
facetValueCode |
Value code of the facet |
string |
facetValueName |
Value name of the facet |
string |
removeQuery |
Remove query |
|
truncateQuery |
Truncate query |
3.21. Budget
Request body fields required and optional to operate on Budget data. This bean may have relationships to other Org Unit WsDTO, whose type are WsDTO beans as well.
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether the Budget is active |
boolean |
budget |
Value of Budget |
number |
code |
Code of the Budget |
string |
costCenters |
List of Cost Centers |
< B2BCostCenter > array |
currency |
Currency of the Budget |
|
endDate |
The end date of the Budget |
string (date-time) |
name |
The name of the Budget |
string |
orgUnit |
The unit of the Budget |
|
selected |
Boolean flag whether the budget is selected for a cost center |
boolean |
startDate |
The start date of the Budget |
string (date-time) |
3.22. BudgetList
Representation of a Budget List
| Name | Description | Schema |
|---|---|---|
budgets |
List of Budgets |
< Budget > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.23. BudgetShallow
Request body fields required and optional to operate on Budget data. This bean is shallow, which means its potential relationship fields to other Org Unit fields are simple ids. No Org Unit WsDTO should be declared in this bean to avoid circular references.
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether the Budget is active |
boolean |
budget |
Value of Budget |
number |
code |
Code of the Budget |
string |
currency |
Currency of the Budget |
|
endDate |
The end date of the Budget |
string (date-time) |
name |
The name of the Budget |
string |
selected |
Boolean flag whether the budget is selected for a cost center |
boolean |
startDate |
The start date of the Budget |
string (date-time) |
3.24. CancellationRequestEntryInput
Representation of a cancellation request entry input for an order
| Name | Description | Schema |
|---|---|---|
orderEntryNumber |
Order entry number of the cancelled product |
integer (int32) |
quantity |
Quantity of the product which belongs to the order entry and is requested to be cancelled |
integer (int64) |
3.25. CancellationRequestEntryInputList
Representation of a cancellation request entry input list for an order
| Name | Description | Schema |
|---|---|---|
cancellationRequestEntryInputs |
Cancellation request entry inputs which contain information about the order entries which are requested to be cancelled |
< CancellationRequestEntryInput > array |
3.26. CardType
Representation of a Card Type
| Name | Description | Schema |
|---|---|---|
code |
Card type code |
string |
name |
Card type name |
string |
3.27. CardTypeList
Representation of a Card Type List
| Name | Description | Schema |
|---|---|---|
cardTypes |
List of card types |
< CardType > array |
3.28. Cart
Representation of a Cart
| Name | Description | Schema |
|---|---|---|
appliedOrderPromotions |
List of applied order promotions |
< PromotionResult > array |
appliedProductPromotions |
List of applied product promotions |
< PromotionResult > array |
appliedVouchers |
List of applied vouchers |
< Voucher > array |
calculated |
Flag showing if order is calculated |
boolean |
code |
Code number of order |
string |
costCenter |
||
deliveryAddress |
Delivery address |
|
deliveryCost |
Delivery cost |
|
deliveryItemsQuantity |
Quantity of delivery items |
integer (int64) |
deliveryMode |
Delivery mode information |
|
deliveryOrderGroups |
List of delivery order entries group |
< DeliveryOrderEntryGroup > array |
description |
Description of the cart |
string |
entries |
List of order entries |
< OrderEntry > array |
entryGroups |
List of entry groups |
< EntryGroup > array |
expirationTime |
Date of cart expiration time |
string (date-time) |
guid |
Guest user id identifier |
string |
name |
Name of the cart |
string |
net |
Flag stating iv value is net-value |
boolean |
orderDiscounts |
Order discounts |
|
paymentInfo |
Payment information |
|
paymentType |
||
pickupItemsQuantity |
Quantity of pickup items |
integer (int64) |
pickupOrderGroups |
List of pickup order entry group |
< PickupOrderEntryGroup > array |
potentialOrderPromotions |
List of potential order promotions for cart |
< PromotionResult > array |
potentialProductPromotions |
List of potential product promotions for cart |
< PromotionResult > array |
productDiscounts |
Product discounts |
|
purchaseOrderNumber |
string |
|
saveTime |
Date of saving cart |
string (date-time) |
savedBy |
Information about person who saved cart |
|
site |
Site |
string |
store |
Store |
string |
subTotal |
Subtotal price |
|
totalDiscounts |
Total discounts |
|
totalItems |
integer (int32) |
|
totalPrice |
Total price value |
|
totalPriceWithTax |
Total price with tax |
|
totalTax |
Total tax price |
|
totalUnitCount |
Total unit count |
integer (int32) |
user |
User information |
3.29. CartList
Representation of a Cart list
| Name | Description | Schema |
|---|---|---|
carts |
List of carts |
< Cart > array |
3.30. CartModification
Representation of a Cart modification
| Name | Description | Schema |
|---|---|---|
deliveryModeChanged |
Delivery mode changed |
boolean |
entry |
Order entry |
|
quantity |
Final quantity after cart modification |
integer (int64) |
quantityAdded |
Quantity added with cart modification |
integer (int64) |
statusCode |
Status code of cart modification |
string |
statusMessage |
Status message |
string |
3.31. CartModificationList
Representation of a Cart modification list
| Name | Description | Schema |
|---|---|---|
cartModifications |
List of cart modifications |
< CartModification > array |
3.32. Catalog
Representation of an Catalog
| Name | Description | Schema |
|---|---|---|
catalogVersions |
List of versions of catalog |
< CatalogVersion > array |
id |
Identifier of abstract catalog item |
string |
lastModified |
Date of last modification |
string (date-time) |
name |
Name of abstract catalog item |
string |
url |
Url address of abstract catalog item |
string |
3.33. CatalogList
Representation of a Catalog List
| Name | Description | Schema |
|---|---|---|
catalogs |
List of catalog items |
< Catalog > array |
3.34. CatalogVersion
Representation of a Catalog Version
| Name | Description | Schema |
|---|---|---|
categories |
List of category hierarchies |
< CategoryHierarchy > array |
id |
Identifier of abstract catalog item |
string |
lastModified |
Date of last modification |
string (date-time) |
name |
Name of abstract catalog item |
string |
url |
Url address of abstract catalog item |
string |
3.35. Category
Representation of a Category
| Name | Description | Schema |
|---|---|---|
code |
Code of the category |
string |
image |
Category image |
|
name |
Name of the category |
string |
url |
URL of the category |
string |
3.36. CategoryHierarchy
Representation of a Category Hierarchy
| Name | Description | Schema |
|---|---|---|
id |
Identifier of abstract catalog item |
string |
lastModified |
Date of last modification |
string (date-time) |
name |
Name of abstract catalog item |
string |
products |
< Product > array |
|
subcategories |
List of subcategory hierarchies |
< CategoryHierarchy > array |
url |
Url address of abstract catalog item |
string |
3.37. Classification
Representation of a Classification
| Name | Description | Schema |
|---|---|---|
code |
Code of the classification |
string |
features |
List of features for given classification |
< Feature > array |
name |
Name of the classification |
string |
3.38. Comment
Object of the comment, which can be added to any Item in the commerce suite.
| Name | Description | Schema |
|---|---|---|
author |
Author of the comment. |
|
creationDate |
Date when the comment was created. |
string (date-time) |
fromCustomer |
Flag showing if the current customer was the author of the comment. |
boolean |
text |
Text of the comment. |
string |
3.39. ConfigurationInfo
Representation of a Configuration Info
| Name | Description | Schema |
|---|---|---|
configurationLabel |
Label of configuration info |
string |
configurationValue |
Value of configuration info |
string |
configuratorType |
Type of configuration info |
string |
status |
Status of configuration info |
string |
3.40. Consent
Representation of a Consent
| Name | Description | Schema |
|---|---|---|
code |
Code of consent |
string |
consentGivenDate |
Date of consenting |
string (date-time) |
consentWithdrawnDate |
Consent withdrawn date |
string (date-time) |
3.41. ConsentTemplate
Representation of a Consent Template
| Name | Description | Schema |
|---|---|---|
currentConsent |
Current consent |
|
description |
Consent template description |
string |
id |
Consent template identifier |
string |
name |
Consent template name |
string |
version |
Consent template version |
integer (int32) |
3.42. ConsentTemplateList
Representation of a Consent Template List
| Name | Description | Schema |
|---|---|---|
consentTemplates |
List of consent templates |
< ConsentTemplate > array |
3.43. Consignment
Representation of a Consignment
| Name | Description | Schema |
|---|---|---|
code |
Consignment code |
string |
deliveryMode |
||
deliveryPointOfService |
Delivery point of service |
|
entries |
List of consignment entries |
< ConsignmentEntry > array |
orderCode |
string |
|
packagingInfo |
||
shippingAddress |
Shipping address |
|
shippingDate |
Example : |
string (date-time) |
status |
Consignment status |
string |
statusDate |
Consignment status date |
string (date-time) |
statusDisplay |
Consignment status display |
string |
trackingID |
Consignment tracking identifier |
string |
warehouseCode |
string |
3.44. ConsignmentEntry
Representation of a Consignment Entry
| Name | Description | Schema |
|---|---|---|
orderEntry |
Order entry of Consignment entry |
|
quantity |
Quantity value of Consignment entry |
integer (int64) |
quantityDeclined |
integer (int64) |
|
quantityPending |
integer (int64) |
|
quantityShipped |
integer (int64) |
|
shippedQuantity |
Shipped quantity |
integer (int64) |
3.45. Country
Response body fields which will be returned while fetching the list of countries. The DTO is in XML or .json format
| Name | Description | Schema |
|---|---|---|
isocode |
Country code in iso format |
string |
name |
Name of the country |
string |
3.46. CountryList
List of countries
| Name | Description | Schema |
|---|---|---|
countries |
This is the list of Country fields that should be returned in the response body |
< Country > array |
3.47. CreateComment
Object of the comment, which can be used to add a comment.
| Name | Description | Schema |
|---|---|---|
text |
Text of the comment. |
string |
3.48. Currency
Representation of a Currency
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag whether currency is active |
boolean |
isocode |
Code of the currency in iso format |
string |
name |
Name of the currency |
string |
symbol |
Symbol of the currency |
string |
3.49. CurrencyList
Representation of a Currency List
| Name | Description | Schema |
|---|---|---|
currencies |
List of currencies |
< Currency > array |
3.50. DeliveryMode
Representation of a Delivery mode
| Name | Description | Schema |
|---|---|---|
code |
Code of the delivery mode |
string |
deliveryCost |
Cost of the delivery |
|
description |
Description of the delivery mode |
string |
name |
Name of the delivery mode |
string |
3.51. DeliveryModeList
Representation of a Delivery mode list
| Name | Description | Schema |
|---|---|---|
deliveryModes |
List of delivery modes |
< DeliveryMode > array |
3.52. DeliveryOrderEntryGroup
Representation of a Delivery Order Entry Group
| Name | Description | Schema |
|---|---|---|
deliveryAddress |
Delivery address for order entry group |
|
entries |
List of order entries |
< OrderEntry > array |
quantity |
Quantity of order entries in a group |
integer (int64) |
totalPriceWithTax |
Total price with tax |
3.53. EntitlementInstance
Representation of an Entitlement Instance
| Name | Description | Schema |
|---|---|---|
id |
Guid for Entitlement Instance |
string |
name |
Entitlement Instance Model Name |
string |
number |
Number associated with an Entitlement Instance |
integer (int32) |
orderNumber |
Order Reference Number |
string |
productCode |
Product ID |
string |
quantity |
Quantity of an Entitlement Instance |
integer (int32) |
region |
The region of the Entitlement Instance |
string |
right |
The Right the entitlement instance gives the users |
string |
status |
Status Name |
string |
type |
Entitlement Instance type name |
string |
validFrom |
Valid from date of an Entitlement Instance |
string (date-time) |
validTo |
Valid to date of an Entitlement Instance |
string (date-time) |
3.54. EntitlementInstanceList
| Name | Description | Schema |
|---|---|---|
entitlements |
Entitlement Instance |
< EntitlementInstance > array |
pagination |
The number of results returned per page |
|
sorts |
Sorting method applied to the return results |
< Sort > array |
3.55. EntryGroup
Representation of an Entry Group
| Name | Description | Schema |
|---|---|---|
entries |
List of order entries |
< OrderEntry > array |
entryGroupNumber |
Identifier of the entry group |
integer (int32) |
entryGroups |
List of child entry groups |
< EntryGroup > array |
erroneous |
Indicates if the entry group is in an error state |
boolean |
label |
Label for the entry group |
string |
type |
Indicates type of the group, possible values are STANDALONE, CONFIGURABLEBUNDLE or any customer implemented type for any new provider |
string |
3.56. Facet
Representation of a Facet
| Name | Description | Schema |
|---|---|---|
category |
Flag stating if facet is category facet |
boolean |
multiSelect |
Flag stating if facet is multiSelect |
boolean |
name |
Name of the facet |
string |
priority |
Priority value of the facet |
integer (int32) |
topValues |
List of top facet values |
< FacetValue > array |
values |
List of all facet values |
< FacetValue > array |
visible |
Flag stating if facet is visible |
boolean |
3.57. FacetValue
Representation of a Facet Value
| Name | Description | Schema |
|---|---|---|
count |
Count of the facet value |
integer (int64) |
name |
Name of the facet value |
string |
query |
Query of the facet value |
|
selected |
Flag stating if facet value is selected |
boolean |
3.58. Feature
Representation of a Feature
| Name | Description | Schema |
|---|---|---|
code |
Code of the feature |
string |
comparable |
Flag defining it feature is comparable |
boolean |
description |
Description of the feature |
string |
featureUnit |
Feature unit |
|
featureValues |
List of feature values |
< FeatureValue > array |
name |
Name of the feature |
string |
range |
Range number of the feature |
boolean |
type |
Type of the feature |
string |
3.59. FeatureUnit
Representation of a Feature Unit
| Name | Description | Schema |
|---|---|---|
name |
Name of the feature unit |
string |
symbol |
Symbol of the feature unit |
string |
unitType |
Type of the feature unit |
string |
3.60. FeatureValue
Representation of a Feature Value
| Name | Description | Schema |
|---|---|---|
value |
Value of the feature |
string |
3.61. FutureStock
Representation of a Future Stock
| Name | Description | Schema |
|---|---|---|
date |
Date of future stock |
string (date-time) |
formattedDate |
Date of future stock expressed in text value |
string |
stock |
Stock information of future stock |
3.62. GeoPoint
Representation of a GeoPoint
| Name | Description | Schema |
|---|---|---|
latitude |
Geopoint latitude |
number (double) |
longitude |
Geopoint longitude |
number (double) |
3.63. Image
Representation of an Image
| Name | Description | Schema |
|---|---|---|
altText |
Tooltip content which is visible while image mouse hovering |
string |
format |
Format of the image, can be zoom, product, thumbnail, store, cartIcon, etc. |
string |
galleryIndex |
Index of the image while displayed in gallery |
integer (int32) |
imageType |
Type of the image, can be PRIMARY or GALLERY |
enum (PRIMARY, GALLERY) |
url |
URL address of the image |
string |
3.64. Language
Representation of a Language
| Name | Description | Schema |
|---|---|---|
active |
true/false indicator when the language is active |
boolean |
isocode |
iso code of the language |
string |
name |
name of the language |
string |
nativeName |
name the language in native form |
string |
3.65. LanguageList
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
| Name | Description | Schema |
|---|---|---|
languages |
This is the list of Language fields that should be returned in the response body |
< Language > array |
3.66. MemberList
Representation of a Member List
| Name | Description | Schema |
|---|---|---|
members |
List of member |
< Principal > array |
3.67. OpeningSchedule
Representation of an Opening schedule
| Name | Description | Schema |
|---|---|---|
code |
Code of the opening schedule |
string |
name |
Name of the opening schedule |
string |
specialDayOpeningList |
List of special opening days |
< SpecialOpeningDay > array |
weekDayOpeningList |
List of weekday opening days |
< WeekdayOpeningDay > array |
3.68. Order
Representation of an Order
| Name | Description | Schema |
|---|---|---|
appliedOrderPromotions |
List of applied order promotions |
< PromotionResult > array |
appliedProductPromotions |
List of applied product promotions |
< PromotionResult > array |
appliedVouchers |
List of applied vouchers |
< Voucher > array |
calculated |
Flag showing if order is calculated |
boolean |
cancellable |
Boolean flag showing if order is cancellable |
boolean |
code |
Code number of order |
string |
consignments |
List of consignment |
< Consignment > array |
costCenter |
Cost Center associated with the order |
|
created |
Date of order creation |
string (date-time) |
deliveryAddress |
Delivery address |
|
deliveryCost |
Delivery cost |
|
deliveryItemsQuantity |
Quantity of delivery items |
integer (int64) |
deliveryMode |
Delivery mode information |
|
deliveryOrderGroups |
List of delivery order entries group |
< DeliveryOrderEntryGroup > array |
deliveryStatus |
Order delivery status |
string |
deliveryStatusDisplay |
Order delivery status display |
string |
entries |
List of order entries |
< OrderEntry > array |
entryGroups |
List of entry groups |
< EntryGroup > array |
guestCustomer |
Flag showing if customer is Guest customer |
boolean |
guid |
Guest user id identifier |
string |
net |
Flag stating iv value is net-value |
boolean |
orderDiscounts |
Order discounts |
|
orgCustomer |
Customer who placed the order |
|
paymentAddress |
||
paymentInfo |
Payment information |
|
permissionResults |
Results of permissions associated with the order |
< OrderApprovalPermissionResult > array |
pickupItemsQuantity |
Quantity of pickup items |
integer (int64) |
pickupOrderGroups |
List of pickup order entry group |
< PickupOrderEntryGroup > array |
productDiscounts |
Product discounts |
|
purchaseOrderNumber |
Purchase order number |
string |
returnable |
Boolean flag showing if order is returnable |
boolean |
site |
Site |
string |
status |
Status of order |
string |
statusDisplay |
Status display |
string |
store |
Store |
string |
subTotal |
Subtotal price |
|
totalDiscounts |
Total discounts |
|
totalItems |
integer (int32) |
|
totalPrice |
Total price value |
|
totalPriceWithTax |
Total price with tax |
|
totalTax |
Total tax price |
|
totalUnitCount |
integer (int32) |
|
unconsignedEntries |
List of unconsigned order entries |
< OrderEntry > array |
user |
User information |
3.69. OrderApproval
Details of one specific order approval
| Name | Description | Schema |
|---|---|---|
approvalDecisionRequired |
Boolean flag which states whether an approval decision is required. |
boolean |
code |
Code that identifies the approval. |
string |
customerOrderApprovalRecords |
Customer approval records related to this order approval. |
< OrderApprovalRecord > array |
merchantOrderApprovalRecords |
Merchant approval records related to this order approval. |
< OrderApprovalRecord > array |
order |
Order linked to this approval. |
|
trigger |
Replenishment trigger if this is an approval for a replenishment order. |
3.70. OrderApprovalDecision
Decision for an order approval
| Name | Description | Schema |
|---|---|---|
comment |
Any comments the approver (or the workflow system) adds when approving/rejecting an order. |
string |
decision |
Decision from the approver when approving/rejecting an order. Typical decisions are: APPROVE, REJECT |
string |
3.71. OrderApprovalList
Representation of a Order Approval List
| Name | Description | Schema |
|---|---|---|
orderApprovals |
List of Order Approvals |
< OrderApproval > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.72. OrderApprovalPermission
Request body fields required and optional to operate on Order Approval Permission data.
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether Order Approval Permission is active |
boolean |
code |
Code of the Order Approval Permission |
string |
currency |
Currency of the Order Approval Permission, used for type B2BOrderThresholdPermission and B2BOrderThresholdTimespanPermission |
|
orderApprovalPermissionType |
Type of the Order Approval Permission |
|
orgUnit |
Order Approval Permission’s organizational unit |
|
periodRange |
Period range of the Order Approval Permission, used for type B2BOrderThresholdTimespanPermission |
enum (DAY, WEEK, MONTH, QUARTER, YEAR) |
selected |
Boolean flag of whether the user is selected |
boolean |
threshold |
Threshold value of the Order Approval Permission, used for type B2BOrderThresholdPermission and B2BOrderThresholdTimespanPermission |
number (double) |
3.73. OrderApprovalPermissionList
Representation of a Order Approval Permission List
| Name | Description | Schema |
|---|---|---|
orderApprovalPermissions |
List of Order Approval Permissions |
< OrderApprovalPermission > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.74. OrderApprovalPermissionResult
Details of an order approval permission result related to an order
| Name | Description | Schema |
|---|---|---|
approverName |
Name of the approver responsible for this permission result. |
string |
approverNotes |
Any comments the approver added to the approval item. |
string |
permissionType |
Permission type related to the permission result. |
|
statusDisplay |
Status of the order approval. |
string |
3.75. OrderApprovalPermissionType
Request body fields required and optional to operate on Order Approval Permission Type data. Typical permission types are: B2BBudgetExceededPermission, B2BOrderThresholdTimespanPermission and B2BOrderThresholdPermission
| Name | Description | Schema |
|---|---|---|
code |
Code of the Order Approval Permission Type |
string |
name |
Name of the Order Approval Permission Type |
string |
3.76. OrderApprovalPermissionTypeList
Representation of an Order Approval Permission Type list
| Name | Description | Schema |
|---|---|---|
orderApprovalPermissionTypes |
List of Order Approval Permission Types |
< OrderApprovalPermissionType > array |
3.77. OrderApprovalRecord
Details of one order approval record
| Name | Description | Schema |
|---|---|---|
approver |
Principal responsible to this approval record. |
|
comments |
Any comments the approver (or the workflow system) added to the approval item. |
string |
permissionTypes |
List of permission types related to this approval record. |
< OrderApprovalPermissionType > array |
statusDisplay |
Status of the order approval. |
string |
3.78. OrderEntry
Representation of an Order entry
| Name | Description | Schema |
|---|---|---|
basePrice |
Base price of order entry item |
|
cancellableQuantity |
Quantity number of cancellable items in order entry |
integer (int64) |
cancelledItemsPrice |
Total price of cancelled items which belong to the order entry item |
|
comments |
List of order entry comments. |
< Comment > array |
configurationInfos |
Configuration info of order entry |
< ConfigurationInfo > array |
deliveryMode |
Delivery mode |
|
deliveryPointOfService |
Point of service associated with order entry |
|
entryNumber |
Entry number of the order entry |
integer (int32) |
product |
Product details of order entry |
|
quantity |
Quantity number of items in order entry |
integer (int64) |
quantityAllocated |
integer (int64) |
|
quantityCancelled |
integer (int64) |
|
quantityPending |
integer (int64) |
|
quantityReturned |
integer (int64) |
|
quantityShipped |
integer (int64) |
|
quantityUnallocated |
integer (int64) |
|
returnableQuantity |
Quantity number of returnable items in order entry |
integer (int64) |
returnedItemsPrice |
Total price of returned items which belong to the order entry item |
|
statusSummaryList |
List of aggregated status information per entry, relevant if the entry is configurable and its configuration contains one or many issues in different severities. Note that configurators typically raise such issues only in case the parent document is changeable. In this case the issues (depending on their severity) need to be fixed before a checkout can be done. This means this segment can be present for a cart entry, for order entries it will always be empty |
< StatusSummary > array |
totalPrice |
Total price of order entry item |
|
updateable |
Flag defining if order entry item is updateable |
boolean |
url |
string |
3.79. OrderEntryList
Representation of an Order entry list consumed
| Name | Description | Schema |
|---|---|---|
orderEntries |
List of order entries |
< OrderEntry > array |
3.80. OrderHistory
Representation of an Order History
| Name | Description | Schema |
|---|---|---|
code |
Code of Order History |
string |
costCenter |
Order Cost Center |
|
guid |
Guest user identifier |
string |
placed |
Date of placing order |
string (date-time) |
purchaseOrderNumber |
Purchase order number |
string |
status |
Status of Order History |
string |
statusDisplay |
Status display |
string |
total |
Total price |
3.81. OrderHistoryList
Representation of an Order History List
| Name | Description | Schema |
|---|---|---|
orders |
List of order history items |
< OrderHistory > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.82. OrderStatusUpdateElement
Representation of an Order Status Update Element
| Name | Description | Schema |
|---|---|---|
baseSiteId |
BaseSite identifier |
string |
code |
Code of update element of order status |
string |
status |
Status of update element |
string |
3.83. OrderStatusUpdateElementList
Representation of an Order Status Update Element List
| Name | Description | Schema |
|---|---|---|
orderStatusUpdateElements |
List of order status update elements |
< OrderStatusUpdateElement > array |
3.84. OrgCustomerCreation
Representation of data used for user creation operations. Consists of fields used to create customer
| Name | Description | Schema |
|---|---|---|
email |
Email of the user |
string |
firstName |
First name of the user |
string |
lastName |
Last name of the user |
string |
orgUnit |
The unit of the user |
|
roles |
List of organizational approvers |
< string > array |
titleCode |
Code of the user’s title |
string |
3.85. OrgCustomerModification
Representation of data used for user modification operations. Consists of fields used to modify customer
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether the user is active/enabled or not |
boolean |
email |
Email of the user |
string |
firstName |
First name of the user |
string |
lastName |
Last name of the user |
string |
orgUnit |
The unit of the user |
|
password |
Password of the user |
string |
roles |
List of organizational approvers |
< string > array |
titleCode |
Code of the user’s title |
string |
3.86. OrgUnitUserGroup
| Name | Description | Schema |
|---|---|---|
members |
List of members |
< Principal > array |
membersCount |
Number of members |
integer (int32) |
name |
Name of the user |
string |
orgUnit |
Organizational Unit of the user group |
|
permissions |
Order approval permission of the user group |
< OrderApprovalPermission > array |
roles |
List of Roles |
< string > array |
selected |
Boolean flag of whether a user group is selected or not |
boolean |
subGroups |
List of subgroups |
< UserGroup > array |
uid |
Unique user identifier |
string |
3.87. OrgUnitUserGroupList
Representation of an user list used in organizational units
| Name | Description | Schema |
|---|---|---|
orgUnitUserGroups |
List of organizational unit user groups |
< OrgUnitUserGroup > array |
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
3.88. OrgUnitUserList
Representation of an user list used in organizational units
| Name | Description | Schema |
|---|---|---|
pagination |
Pagination items |
|
sorts |
List of sorts |
< Sort > array |
users |
List of users |
< User > array |
3.89. OrgUserRegistrationData
Representation of data used for user registration operations. Consists of fields used to apply to create new customer
| Name | Description | Schema |
|---|---|---|
email |
Email of the user |
string |
firstName |
First name of the user |
string |
lastName |
Last name of the user |
string |
message |
Contains info to approver, usually composed by UI with a template |
string |
titleCode |
Code of the user’s title |
string |
3.90. PackagingInfo
Representation of a Packaging Information
| Name | Schema |
|---|---|
dimensionUnit |
string |
grossWeight |
string |
height |
string |
insuredValue |
string |
length |
string |
weightUnit |
string |
width |
string |
3.91. PaymentDetails
Representation of a Payment Details
| Name | Description | Schema |
|---|---|---|
accountHolderName |
Name of account holder |
string |
billingAddress |
Address details to be considered as billing address |
|
cardNumber |
Payment card number |
string |
cardType |
Type of payment card |
|
defaultPayment |
Flag to mark if payment the default one |
boolean |
expiryMonth |
Month of expiration of payment |
string |
expiryYear |
Year of expiration of payment |
string |
id |
Unique identifier of payment detail |
string |
issueNumber |
Issue number |
string |
saved |
Flag to mark if payment is saved one |
boolean |
startMonth |
Start month from which payment is valid |
string |
startYear |
Start year from which payment is valid |
string |
subscriptionId |
Identifier of subscription |
string |
3.92. PaymentDetailsList
Representation of a Payment details list
| Name | Description | Schema |
|---|---|---|
payments |
List of payment details |
< PaymentDetails > array |
3.93. PaymentMode
Representation of a Payment Mode
| Name | Description | Schema |
|---|---|---|
code |
Payment mode code |
string |
description |
Payment mode description |
string |
name |
Payment mode name |
string |
3.94. PaymentModeList
Representation of a Payment Mode List
| Name | Description | Schema |
|---|---|---|
paymentModes |
List of payment modes |
< PaymentMode > array |
3.95. PaymentRequest
| Name | Schema |
|---|---|
mappingLabels |
< string, string > map |
parameters |
< string, string > map |
postUrl |
string |
3.96. PickupOrderEntryGroup
Representation of a Pickup Order Entry Group
| Name | Description | Schema |
|---|---|---|
deliveryPointOfService |
Delivery point of service |
|
distance |
Distance calculated to pickup place |
number (double) |
entries |
List of order entries |
< OrderEntry > array |
quantity |
Quantity of order entries in a group |
integer (int64) |
totalPriceWithTax |
Total price with tax |
3.97. PointOfService
Representation of a Point of service
| Name | Description | Schema |
|---|---|---|
address |
Address information of point of service |
|
description |
Description of the point of service |
string |
displayName |
Display name of the point of service |
string |
distanceKm |
Distance to the point of service as number value |
number (double) |
features |
List of features for a given point of service |
< string, string > map |
formattedDistance |
Distance to the point of service as text value |
string |
geoPoint |
Geopoint localization info about point of service |
|
mapIcon |
Image associated with the point of service |
|
name |
Name of the point of service |
string |
openingHours |
Opening hours of point of service |
|
storeContent |
Store content of given point of service |
string |
storeImages |
Collection of images associated with a point of service |
< Image > array |
url |
Url address of the point of service |
string |
warehouseCodes |
< string > array |
3.98. PointOfServiceList
Representation of a Point of Service List
| Name | Description | Schema |
|---|---|---|
pointOfServices |
List of points of service |
< PointOfService > array |
3.99. PointOfServiceStock
Representation of a Point Of Service Stock
| Name | Description | Schema |
|---|---|---|
address |
Address information of point of service |
|
description |
Description of the point of service |
string |
displayName |
Display name of the point of service |
string |
distanceKm |
Distance to the point of service as number value |
number (double) |
features |
List of features for a given point of service |
< string, string > map |
formattedDistance |
Distance to the point of service as text value |
string |
geoPoint |
Geopoint localization info about point of service |
|
mapIcon |
Image associated with the point of service |
|
name |
Name of the point of service |
string |
openingHours |
Opening hours of point of service |
|
stockInfo |
Stock information about point of service |
|
storeContent |
Store content of given point of service |
string |
storeImages |
Collection of images associated with a point of service |
< Image > array |
url |
Url address of the point of service |
string |
warehouseCodes |
< string > array |
3.100. Price
Representation of a Price
| Name | Description | Schema |
|---|---|---|
currencyIso |
Currency iso format |
string |
formattedValue |
Value of price formatted |
string |
maxQuantity |
Maximum quantity of the price value |
integer (int64) |
minQuantity |
Minimum quantity of the price value |
integer (int64) |
priceType |
Type of the price |
enum (BUY, FROM) |
value |
Value of price in BigDecimal format |
number |
3.101. PriceRange
Representation of a Price Range
| Name | Description | Schema |
|---|---|---|
maxPrice |
Maximum value of the Price Range |
|
minPrice |
Minium value of the Price Range |
3.102. Principal
Representation of a Principal webservice DTO used for defining User data types
| Name | Description | Schema |
|---|---|---|
name |
Name of the user |
string |
uid |
Unique user identifier |
string |
3.103. Product
Representation of a Product
| Name | Description | Schema |
|---|---|---|
availableForPickup |
Flag defining if product is available for pickup |
boolean |
averageRating |
Rating number of average value |
number (double) |
baseOptions |
List of base options related to the product |
< BaseOption > array |
baseProduct |
Information about base product |
string |
categories |
List of categories product belongs to |
< Category > array |
classifications |
List of classifications related to the product |
< Classification > array |
code |
Code of the product |
string |
configurable |
Flag stating if product is configurable |
boolean |
configuratorType |
Configurator type related to the product |
string |
description |
Description of the product |
string |
firstVariantCode |
string |
|
firstVariantImage |
string |
|
futureStocks |
List of future stocks |
< FutureStock > array |
images |
List of images linked to product |
< Image > array |
manufacturer |
Data of product manufacturer |
string |
multidimensional |
Flag stating if product is multidimensional |
boolean |
name |
Name of the product |
string |
numberOfReviews |
Number of reviews associated with the product |
integer (int32) |
potentialPromotions |
List of potential promotions related to the product |
< Promotion > array |
price |
Price of the product |
|
priceRange |
Price range assigned to the product |
|
productReferences |
List of product references |
< ProductReference > array |
purchasable |
Flag defining if product is purchasable |
boolean |
reviews |
List of reviews associated with the product |
< Review > array |
stock |
Stock value of the product |
|
summary |
Product summary |
string |
tags |
Tags associated with the product |
< string > array |
timedAccessPromotion |
||
url |
Url address of the product |
string |
variantMatrix |
List of variant matrixes associated with the product |
< VariantMatrixElement > array |
variantOptions |
List of variant options related to the product |
< VariantOption > array |
variantType |
Variant type of the product |
string |
volumePrices |
List of volume prices |
< Price > array |
volumePricesFlag |
Flag stating if volume price should be displayed |
boolean |
3.104. ProductExpressUpdateElement
Representation of a Product Express Update Element
| Name | Description | Schema |
|---|---|---|
catalogId |
Catalog identifier |
string |
catalogVersion |
Catalog version |
string |
code |
Code of product express update element |
string |
3.105. ProductExpressUpdateElementList
Representation of a Product Express Update Element List
| Name | Description | Schema |
|---|---|---|
productExpressUpdateElements |
List of product express update element |
< ProductExpressUpdateElement > array |
3.106. ProductFutureStocks
Representation of a Product Future Stocks
| Name | Description | Schema |
|---|---|---|
futureStocks |
List of future stocks |
< FutureStock > array |
productCode |
Product identifier |
string |
3.107. ProductFutureStocksList
Representation of a Product Future Stocks List
| Name | Description | Schema |
|---|---|---|
productFutureStocks |
List of product future stocks |
< ProductFutureStocks > array |
3.108. ProductList
Representation of a Product List
| Name | Description | Schema |
|---|---|---|
catalog |
Catalog of product list |
string |
currentPage |
Number of current page |
integer (int32) |
products |
List of products |
< Product > array |
totalPageCount |
Total page count |
integer (int32) |
totalProductCount |
Total product count |
integer (int32) |
version |
Version of product list |
string |
3.109. ProductReference
Representation of a Product Reference
| Name | Description | Schema |
|---|---|---|
description |
Reference description |
string |
preselected |
Flag stating if product reference is preselected |
boolean |
quantity |
Reference quantity |
integer (int32) |
referenceType |
Reference type |
string |
target |
Target product |
3.110. ProductReferenceList
Representation of a Product Reference List
| Name | Description | Schema |
|---|---|---|
references |
List of product references |
< ProductReference > array |
3.111. ProductSearchPage
Representation of a Product Search Page
| Name | Description | Schema |
|---|---|---|
breadcrumbs |
List of breadcrumbs info |
< Breadcrumb > array |
categoryCode |
Code of category |
string |
currentQuery |
Current query |
|
facets |
List of facets |
< Facet > array |
freeTextSearch |
Free text search |
string |
keywordRedirectUrl |
Redirect url address keyword |
string |
pagination |
Pagination number |
|
products |
List of products |
< Product > array |
sorts |
List of sorts |
< Sort > array |
spellingSuggestion |
Spelling suggestion |
3.112. Promotion
Representation of a Promotion
| Name | Description | Schema |
|---|---|---|
code |
Code of the promotion |
string |
couldFireMessages |
Message about promotion which is displayed when planning potential promotion. This field has higher priority over promotion description |
< string > array |
description |
Description of the promotion |
string |
enabled |
Boolean flag if promotion is enabled |
boolean |
endDate |
Last date of validity of the promotion |
string (date-time) |
firedMessages |
Message fired while the promotion is active. This is info how much you will get when applying the promotion |
< string > array |
priority |
Priority index as numeric value of the promotion. Higher number means higher priority |
integer (int32) |
productBanner |
Image banner of the promotion |
|
promotionGroup |
Group of the promotion |
string |
promotionType |
Type of the promotion |
string |
restrictions |
List of promotion restrictions |
< PromotionRestriction > array |
startDate |
The initial date of the promotion |
string (date-time) |
title |
Promotion title |
string |
3.113. PromotionList
Representation of a Promotion list
| Name | Description | Schema |
|---|---|---|
promotions |
List of promotions |
< Promotion > array |
3.114. PromotionOrderEntryConsumed
Representation of a Promotion order entry consumed
| Name | Description | Schema |
|---|---|---|
adjustedUnitPrice |
Adjusted unit price for promotion order entry |
number (double) |
code |
Order entry code |
string |
orderEntryNumber |
Order entry number |
integer (int32) |
quantity |
Quantity of promotion order entry |
integer (int64) |
3.115. PromotionRestriction
Representation of a Promotion Restriction
| Name | Description | Schema |
|---|---|---|
description |
Description of the promotion restriction |
string |
restrictionType |
Type of the promotion restriction |
string |
3.116. PromotionResult
Representation of a Promotion result
| Name | Description | Schema |
|---|---|---|
consumedEntries |
List of promotion order entries consumed |
< PromotionOrderEntryConsumed > array |
description |
Description of promotion result |
string |
promotion |
Promotion information for given promotion result |
3.117. PromotionResultList
Representation of a Promotion result list
| Name | Description | Schema |
|---|---|---|
promotions |
List of promotion results |
< PromotionResult > array |
3.118. Quote
Representation of the quote object.
| Name | Description | Schema |
|---|---|---|
allowedActions |
Actions, which are allowed to perform with the quote. |
< string > array |
cartId |
Id of the cart, which is linked to the quote. |
string |
code |
Code of the quote. |
string |
comments |
List of quote comments. |
< Comment > array |
creationTime |
Date of quote creation. |
string (date-time) |
description |
Description of the quote. |
string |
entries |
Entries of the cart. |
< OrderEntry > array |
expirationTime |
Expiration time of the quote. |
string (date-time) |
name |
Name of the quote. |
string |
orderDiscounts |
Discounts available for the current order. |
|
previousEstimatedTotal |
Previously estimated total price of the quote. |
|
productDiscounts |
Discount applied to the product. |
|
quoteDiscounts |
Discounts available for the current quote. |
|
state |
Current state of the quote. Possible state values - DRAFT, SUBMITTED, OFFER, CANCELLED, EXPIRED, etc.. The list of the states can be extended. |
string |
subTotalWithDiscounts |
Subtotal of the quote with applied discount. |
|
threshold |
Minimum subtotal value for the quote in the currency of the store. |
number (double) |
totalItems |
Total number of the items in the quote. |
integer (int32) |
totalPrice |
Total price of the cart. |
|
totalPriceWithTax |
Total price of the cart with taxes. |
|
updatedTime |
Date of the last quote update. |
string (date-time) |
version |
Current version of the quote. |
integer (int32) |
3.119. QuoteAction
Action for the quote.
| Name | Description | Schema |
|---|---|---|
action |
User’s actions with the quote. Typical actions are: CANCEL, SUBMIT, ACCEPT, APPROVE, REJECT. |
string |
3.120. QuoteDiscount
Discount applied to the quote
| Name | Description | Schema |
|---|---|---|
discountRate |
Value of the discount |
number (double) |
discountType |
Type of the discount - PERCENT for discount by percentage, ABSOLUTE for discount by amount, TARGET for discount by adjustment of the total value |
string |
3.121. QuoteList
Representation of a Quote result list.
| Name | Description | Schema |
|---|---|---|
pagination |
Pagination of quotes list. |
|
quotes |
List of quotes. |
< Quote > array |
3.122. QuoteMetadata
Representation of quote metadata.
| Name | Description | Schema |
|---|---|---|
description |
Description of the quote. |
string |
expirationTime |
Expiration time of the quote. |
string (date-time) |
name |
Name of the quote. |
string |
3.123. QuoteStarter
Object for the quote creation, either cartId or quoteCode must be specified.
| Name | Description | Schema |
|---|---|---|
cartId |
CartId of the cart from which the quote will be created. |
string |
quoteCode |
Code of the quote for the requote action. |
string |
3.124. Region
Response body fields which will be returned while fetching the list of country’s regions.
| Name | Description | Schema |
|---|---|---|
countryIso |
Country code in iso format |
string |
isocode |
Country and Region code in iso format |
string |
isocodeShort |
Region code in short iso form |
string |
name |
Name of the region |
string |
3.125. RegionList
List of Regions
| Name | Description | Schema |
|---|---|---|
regions |
This is the list of Region fields that should be returned in the response body |
< Region > array |
3.126. ReplenishmentOrder
Request body fields required and optional to operate on Replenishment Order data.
| Name | Description | Schema |
|---|---|---|
active |
Is the Replenishment Order active |
boolean |
appliedOrderPromotions |
List of applied order promotions |
< PromotionResult > array |
appliedProductPromotions |
List of applied product promotions |
< PromotionResult > array |
appliedVouchers |
List of applied vouchers |
< Voucher > array |
calculated |
Flag showing if order is calculated |
boolean |
code |
Code number of order |
string |
costCenter |
||
deliveryAddress |
Delivery address |
|
deliveryCost |
Delivery cost |
|
deliveryItemsQuantity |
Quantity of delivery items |
integer (int64) |
deliveryMode |
Delivery mode information |
|
deliveryOrderGroups |
List of delivery order entries group |
< DeliveryOrderEntryGroup > array |
description |
Description of the cart |
string |
entries |
List of order entries |
< OrderEntry > array |
entryGroups |
List of entry groups |
< EntryGroup > array |
expirationTime |
Date of cart expiration time |
string (date-time) |
firstDate |
First date of the replenishment order |
string (date-time) |
guid |
Guest user id identifier |
string |
name |
Name of the cart |
string |
net |
Flag stating iv value is net-value |
boolean |
orderDiscounts |
Order discounts |
|
paymentInfo |
Payment information |
|
paymentType |
||
pickupItemsQuantity |
Quantity of pickup items |
integer (int64) |
pickupOrderGroups |
List of pickup order entry group |
< PickupOrderEntryGroup > array |
potentialOrderPromotions |
List of potential order promotions for cart |
< PromotionResult > array |
potentialProductPromotions |
List of potential product promotions for cart |
< PromotionResult > array |
productDiscounts |
Product discounts |
|
purchaseOrderNumber |
string |
|
replenishmentOrderCode |
Unique code for the replenishment order |
string |
saveTime |
Date of saving cart |
string (date-time) |
savedBy |
Information about person who saved cart |
|
site |
Site |
string |
store |
Store |
string |
subTotal |
Subtotal price |
|
totalDiscounts |
Total discounts |
|
totalItems |
integer (int32) |
|
totalPrice |
Total price value |
|
totalPriceWithTax |
Total price with tax |
|
totalTax |
Total tax price |
|
totalUnitCount |
Total unit count |
integer (int32) |
trigger |
Trigger for the replenishment order |
|
user |
User information |
3.127. ReplenishmentOrderList
Representation of a Replenishment Order List
| Name | Description | Schema |
|---|---|---|
pagination |
Pagination items |
|
replenishmentOrders |
List of Replenishment Orders |
< ReplenishmentOrder > array |
sorts |
List of sorts |
< Sort > array |
3.128. ResetPassword
Representation of a Reset Password
| Name | Description | Schema |
|---|---|---|
newPassword |
new password string which is required to complete process of resetting password |
string |
token |
token value which will be generated as unique string that will be sent with email to allow user for completing reset-password operation |
string |
3.129. ReturnRequest
Representation of a return request for an order
| Name | Description | Schema |
|---|---|---|
cancellable |
Boolean flag for whether the return request is cancellable |
boolean |
code |
Return request code |
string |
creationTime |
Date of the return request creation |
string (date-time) |
deliveryCost |
Delivery cost |
|
order |
Order related to the return request |
|
refundDeliveryCost |
Boolean flag for whether there is a delivery cost for refund |
boolean |
returnEntries |
Entries of the return request which contains information about the returned product |
< ReturnRequestEntry > array |
returnLabelDownloadUrl |
URL of the return label |
string |
rma |
Return merchandise authorization number |
string |
status |
Status of return request |
string |
subTotal |
Subtotal price |
|
totalPrice |
Total price |
3.130. ReturnRequestEntry
Representation of a return request entry which contains information about the returned product
| Name | Description | Schema |
|---|---|---|
expectedQuantity |
Quantity which is expected to be returned for this return request entry |
integer (int64) |
orderEntry |
Order entry related to the return request entry |
|
refundAmount |
Refund amount of the entry |
3.131. ReturnRequestEntryInput
Representation of a return request entry input for an order
| Name | Description | Schema |
|---|---|---|
orderEntryNumber |
Order entry number of the returned product |
integer (int32) |
quantity |
Quantity of the product which belongs to the order entry and is requested to be returned |
integer (int64) |
3.132. ReturnRequestEntryInputList
Representation of a return request entry input list for an order
| Name | Description | Schema |
|---|---|---|
orderCode |
Code of the order which return request is related to |
string |
returnRequestEntryInputs |
Return request entry inputs which contain information about the order entries which are requested to be returned |
< ReturnRequestEntryInput > array |
3.133. ReturnRequestList
Representation of an Order Return Request List
| Name | Description | Schema |
|---|---|---|
pagination |
Pagination items |
|
returnRequests |
List of order return requests |
< ReturnRequest > array |
sorts |
List of sorts |
< Sort > array |
3.134. ReturnRequestModification
Representation of modifications for a return request
| Name | Description | Schema |
|---|---|---|
status |
Status of the return request |
enum (CANCELLING) |
3.135. Review
Representation of a Review
| Name | Description | Schema |
|---|---|---|
alias |
Alias name for the review |
string |
comment |
Review comment |
string |
date |
Date of the review |
string (date-time) |
headline |
Review headline |
string |
id |
Identifier of review |
string |
principal |
Person related to the review |
|
rating |
Review rating value |
number (double) |
3.136. ReviewList
Representation of a Review List
| Name | Description | Schema |
|---|---|---|
reviews |
List of reviews |
< Review > array |
3.137. SaveCartResult
Representation of a Save Cart Result
| Name | Description | Schema |
|---|---|---|
savedCartData |
Cart data information for saved cart |
3.138. ScheduleReplenishmentForm
Representation of a Schedule Replenishment Form
| Name | Description | Schema |
|---|---|---|
daysOfWeek |
List of days of week on which replenishment should occur. Mandatory with 'recurrencePeriod=WEEKLY'. |
< enum (SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY) > array |
nthDayOfMonth |
On which date of month replenishment should be activated. Mandatory with 'recurrencePeriod=MONTHLY'. |
string |
numberOfDays |
How frequent replenishment should be activated expressed in days. Mandatory with 'recurrencePeriod=DAILY'. |
string |
numberOfWeeks |
How frequent replenishment should be activated expressed in weeks. Mandatory with 'recurrencePeriod=WEEKLY'. |
string |
recurrencePeriod |
Replenishment recurrence period. Available values are DAILY, WEEKLY and MONTHLY. DAILY requires 'numberOfDays'. WEEKLY requires 'daysOfWeek' AND 'numberOfWeeks'. MONTHLY requires 'nthDayOfMonth'. |
string |
replenishmentStartDate |
First day for replenishment order |
string (date-time) |
3.139. SearchQuery
Representation of a Search Query
| Name | Description | Schema |
|---|---|---|
value |
Value of search query |
string |
3.140. SearchState
Representation of a Search State
| Name | Description | Schema |
|---|---|---|
query |
Query of search state |
|
url |
Url address of search state |
string |
3.141. Sort
Representation a Sort option
| Name | Description | Schema |
|---|---|---|
code |
Code of Sort |
string |
name |
Name of Sort |
string |
selected |
Flag stating when Sort is selected |
boolean |
3.142. SpecialOpeningDay
Representation of a special opening day
| Name | Description | Schema |
|---|---|---|
closed |
Flag stating if special opening day is closed |
boolean |
closingTime |
Closing time of opening day |
|
comment |
Comment field |
string |
date |
Date of special opening day |
string (date-time) |
formattedDate |
Text representation of the date of special opening day |
string |
name |
Name of the special opening day event |
string |
openingTime |
Starting time of opening day |
3.143. SpellingSuggestion
Representation of a Spell Checker Suggestion
| Name | Description | Schema |
|---|---|---|
query |
Query for spelling suggestion |
string |
suggestion |
Spelling suggestion |
string |
3.144. StatusSummary
Representation of a status summary, an aggregated view on issues for a specific status or severity. These issues are attached to configurations of products or order entries
| Name | Description | Schema |
|---|---|---|
numberOfIssues |
Number of issues per status |
integer (int32) |
status |
Status or severity indicator, can be one of ERROR, WARNING, INFO or SUCCESS |
string |
3.145. Stock
Representation of a Stock
| Name | Description | Schema |
|---|---|---|
isValueRounded |
Indicate whether Stock level value is rounded |
boolean |
stockLevel |
Stock level expressed as number |
integer (int64) |
stockLevelStatus |
Status of stock level |
string |
3.146. StoreCount
Representation of a Store Count
| Name | Description | Schema |
|---|---|---|
count |
Count |
integer (int32) |
isoCode |
Iso code of store |
string |
name |
Name of store count |
string |
storeCountDataList |
List of store counts |
< StoreCount > array |
type |
Type of store count |
string |
3.147. StoreCountList
Representation of a Store Count List
| Name | Description | Schema |
|---|---|---|
countriesAndRegionsStoreCount |
List of store counts |
< StoreCount > array |
3.148. StoreFinderSearchPage
Representation of a Store finder search page
| Name | Description | Schema |
|---|---|---|
boundEastLongitude |
Bound east longitude |
number (double) |
boundNorthLatitude |
Bound north latitude |
number (double) |
boundSouthLatitude |
Bound south latitude |
number (double) |
boundWestLongitude |
Bound west longitude |
number (double) |
locationText |
Location text |
string |
pagination |
Pagination |
|
sorts |
List of sortings |
< Sort > array |
sourceLatitude |
Source latitude |
number (double) |
sourceLongitude |
Source longitude |
number (double) |
stores |
List of stores |
< PointOfService > array |
3.149. StoreFinderStockSearchPage
Representation of a Store Finder Stock Search Page
| Name | Description | Schema |
|---|---|---|
boundEastLongitude |
Bound to east longitude |
number (double) |
boundNorthLatitude |
Bound to north latitude |
number (double) |
boundSouthLatitude |
Bound to south latitude |
number (double) |
boundWestLongitude |
Bound to west longitude |
number (double) |
locationText |
Location text |
string |
pagination |
Pagination |
|
product |
Product |
|
sorts |
List of sorts |
< Sort > array |
sourceLatitude |
Source latitude |
number (double) |
sourceLongitude |
Source longitude |
number (double) |
stores |
List of stores |
< PointOfServiceStock > array |
3.150. Suggestion
Representation of a Suggestion
| Name | Description | Schema |
|---|---|---|
value |
Suggestion value |
string |
3.151. SuggestionList
Representation of a Suggestion List
| Name | Description | Schema |
|---|---|---|
suggestions |
List of suggestions |
< Suggestion > array |
3.152. Time
Representation of a Time
| Name | Description | Schema |
|---|---|---|
formattedHour |
Formatted hour |
string |
hour |
Hour part of the time data |
integer (int32) |
minute |
Minute part of the time data |
integer (int32) |
3.153. Title
Representation of a Title
| Name | Description | Schema |
|---|---|---|
code |
Title code |
string |
name |
Title name |
string |
3.154. TitleList
Representation of a Title List
| Name | Description | Schema |
|---|---|---|
titles |
List of titles |
< Title > array |
3.155. Trigger
Representation of a Trigger
| Name | Description | Schema |
|---|---|---|
activationTime |
The time the trigger will be activated |
string (date-time) |
displayTimeTable |
Description of when the trigger is being activated |
string |
3.156. User
Representation of an User
| Name | Description | Schema |
|---|---|---|
active |
Boolean flag of whether the user is active/enabled or not |
boolean |
approvers |
List of organizational approvers |
< User > array |
currency |
User preferred currency |
|
customerId |
Customer identifier |
string |
deactivationDate |
Deactivation date |
string (date-time) |
defaultAddress |
User address |
|
displayUid |
User identifier |
string |
email |
Email of the user |
string |
firstName |
User first name |
string |
language |
User preferred language |
|
lastName |
User last name |
string |
name |
Name of the user |
string |
orgUnit |
The unit of the User |
|
roles |
< string > array |
|
selected |
Boolean flag of whether the user is selected |
boolean |
title |
User title |
string |
titleCode |
User title code |
string |
uid |
Unique user identifier |
string |
3.157. UserGroup
Representation of an User Group
| Name | Description | Schema |
|---|---|---|
members |
List of members |
< Principal > array |
membersCount |
Number of members |
integer (int32) |
name |
Name of the user |
string |
subGroups |
List of subgroups |
< UserGroup > array |
uid |
Unique user identifier |
string |
3.158. UserGroupList
Representation of an User Group List
| Name | Description | Schema |
|---|---|---|
currentPage |
Current page |
integer (int32) |
numberOfPages |
Number of pages |
integer (int32) |
pageSize |
Page size |
integer (int32) |
totalNumber |
Total number |
integer (int32) |
userGroups |
List of user groups |
< UserGroup > array |
3.159. UserSignUp
Representation of an UserSignUp. Consists of fields required to register new customer
| Name | Description | Schema |
|---|---|---|
firstName |
first name of the user |
string |
lastName |
last name of the user |
string |
password |
user password |
string |
titleCode |
string |
|
uid |
user id, unique string required to create new user. It can be email |
string |
3.160. VariantCategory
Representation of a Variant Category
| Name | Description | Schema |
|---|---|---|
hasImage |
Flag if varian category has image assigned |
boolean |
name |
Variant category name |
string |
priority |
Priority number of variant category |
integer (int32) |
3.161. VariantMatrixElement
Representation of a Variant Matrix Element
| Name | Description | Schema |
|---|---|---|
elements |
List of elements with the type of variant matrix element |
< VariantMatrixElement > array |
isLeaf |
boolean |
|
parentVariantCategory |
Parent variant category for variant matrix element |
|
variantOption |
Variant option for variant matrix element |
|
variantValueCategory |
Variant value category for variant matrix element |
3.162. VariantOption
Representation of a Variant Option
| Name | Description | Schema |
|---|---|---|
code |
Code of the variant option |
string |
priceData |
Price data information of the variant option |
|
stock |
Stock value of the variant option |
|
url |
Url address of the variant option |
string |
variantOptionQualifiers |
List of variant option qualifiers |
< VariantOptionQualifier > array |
3.163. VariantOptionQualifier
Representation of a Variant Option Qualifier
| Name | Description | Schema |
|---|---|---|
image |
Image associated with variant option qualifier |
|
name |
Name of variant option qualifier |
string |
qualifier |
Qualifier |
string |
value |
Value of variant option qualifier |
string |
3.164. VariantValueCategory
Representation of a Variant Value Category
| Name | Description | Schema |
|---|---|---|
name |
Name of the variant value category |
string |
sequence |
Sequence number of variant value category |
integer (int32) |
superCategories |
Parent category of variant value category |
< VariantCategory > array |
3.165. Voucher
Representation of a Voucher
| Name | Description | Schema |
|---|---|---|
appliedValue |
Applied value when using this voucher |
|
code |
The identifier of the Voucher. This is the first part of voucher code which holds first 3 letters, like: 123 |
string |
currency |
Currency of the voucher |
|
description |
Description of the voucher |
string |
freeShipping |
Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Defaults to false. |
boolean |
name |
Name of the voucher |
string |
value |
Value of the voucher. Example of such value is: 15.0d |
number (double) |
valueFormatted |
Formatted value of the voucher |
string |
valueString |
The value of the voucher to display. Example: 15.0% |
string |
voucherCode |
Voucher code, is the holder for keeping specific occasional voucher related to business usage. It can be generated and looks like: 123-H8BC-Y3D5-34AL |
string |
3.166. VoucherList
Representation of a Voucher List
| Name | Description | Schema |
|---|---|---|
vouchers |
List of vouchers |
< Voucher > array |
3.167. WeekdayOpeningDay
Representation of a Weekday Opening Day
| Name | Description | Schema |
|---|---|---|
closed |
Flag stating if weekday opening day is closed |
boolean |
closingTime |
Closing time of opening day |
|
openingTime |
Starting time of opening day |
|
weekDay |
Text representation of week day opening day |
string |
3.168. deprecatedPagination
Representation of a search results pagination
| Name | Description | Schema |
|---|---|---|
currentPage |
The current page number. The first page is number zero (0), the second page is number one (1), and so on |
integer (int32) |
pageSize |
The number of results per page. A page may have less results if there are less than a full page of results, only on the last page in the results |
integer (int32) |
sort |
The selected sort code |
string |
totalPages |
The total number of pages. This is the number of pages, each of pageSize, required to display the totalResults. |
integer (int32) |
totalResults |
The total number of matched results across all pages |
integer (int64) |
3.169. error
Error message
| Name | Description | Schema |
|---|---|---|
errorCode |
Error code |
string |
message |
Descriptive, human readable error message. |
string |
reason |
Additional classification specific for each error type e.g. 'noStock'. |
string |
subject |
Identifier of the related object e.g. '1'. |
string |
subjectType |
Type of the object related to the error e.g. 'entry'. |
string |
type |
Type of the error e.g. 'LowStockError'. |
string |
4. Security
4.1. oauth2_Password
Type : oauth2
Flow : password
Token URL : /authorizationserver/oauth/token
| Name |
|---|
basic |
4.2. oauth2_client_credentials
Type : oauth2
Flow : application
Token URL : /authorizationserver/oauth/token
| Name |
|---|
extended |