Promotion

Required for evaluation of promotions where UseIntegration is true. The promotion with order or line item data will be sent to the URL specified in this resource.

Retrieve a promotion integration

Request

Security
OAuth2(Required scopes: FullAccessPromotionAdmin)
curl -i -X GET \
  https://api.ordercloud.io/v1/integrations/promotion \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Bodyapplication/json
HashKeystring, <= 50 characters

Security feature that allows your middleware to verify the digital signature in the request header to ensure you only accept trusted data.

Example:""
Urlstring
Example:""
CustomAuthHeaderNamestring

The header name that can be passed to your middleware.

Example:""
CustomAuthHeaderValuestring

The header value that can be passed to your middleware.

Example:""
Response
{ "HashKey": "", "Url": "", "CustomAuthHeaderName": "", "CustomAuthHeaderValue": "" }