Sitecore API catalog/OrderCloud//
- List promotions visible to this user
Retrieve a promotion
List promotions visible t...
Only available to Buyer Users.
Security
OAuth2(Required scopes: FullAccessShopper)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me/promotions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/me/promotions?search=string&searchOn=ID&sortBy=Name&page=1&pageSize=20&filters=' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Only available to Buyer Users.
Example:
[ { "ID": "", "LineItemLevel": false, "Code": "", "Name": "", "RedemptionLimit": 0, "RedemptionLimitPerUser": 0, "RedemptionCount": 0, "QuantityLimitPerOrder": 0, "ItemLimitPerOrder": 0, "ItemSortBy": "", "Description": "", "FinePrint": "", "StartDate": "2018-01-01T00:00:00-06:00", "ExpirationDate": "2018-01-01T00:00:00-06:00", "EligibleExpression": "", "ValueExpression": "", "CanCombine": false, "AllowAllBuyers": false, "OwnerID": "", "AutoApply": false, "Active": false, "UseIntegration": false, "Priority": 0, "xp": {} } ]
Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }