Promotions Configuration (1.0)
Download OpenAPI specification:Download
Use this API to manage promotions configurations in NewStore, such as retrieving, updating or deleting the global exclusion lists.
GET Global Exclusion List
Use this method to retrieve global exclusion list.
Authorizations:
newStoreAccessToken
Responses
Response samples
- 200
Content type
application/json
{- "tenant": "dodici",
- "ids": [
- "P0001",
- "P0002"
], - "createdAt": "2023-05-16T09:52:27.824Z",
- "createdBy": "25dd570161b05f0cae353a56757f8495",
- "updatedAt": "2023-05-19T17:42:49.309Z",
- "updatedBy": "25dd570161b05f0cae353a56757f8495"
}
Update Global Exclusion List
Use this method to update global exclusion list.
Authorizations:
newStoreAccessToken
Request Body schema: application/json
ids | Array of strings A list of global excluded products. |
Responses
Request samples
- Payload
Content type
application/json
{- "ids": [
- "P0001",
- "P0002"
]
}
Response samples
- 201
Content type
application/json
{- "tenant": "dodici",
- "ids": [
- "P0001",
- "P0002"
], - "createdAt": "2023-05-16T09:52:27.824Z",
- "createdBy": "25dd570161b05f0cae353a56757f8495",
- "updatedAt": "2023-05-19T17:42:49.309Z",
- "updatedBy": "25dd570161b05f0cae353a56757f8495"
}