Backend API

Fields
idobjectId

Unique identifier for the promotion use.

account_idobjectId

ID of the customer's account.

accountAccount

Expandable link to the account that used the promotion.

date_createddateauto

Date and time the promotion use was created.

date_updateddateauto

Date and time the promotion use was last updated.

orderOrder

Expandable link to the order the promotion was applied to.

order_idobjectId

ID of the order that used the promotion.

parentPromotion

Expandable link to the parent promotion.

parent_idobjectIdrequired

ID of the parent promotion.

subscriptionSubscription

Expandable link to the subscription that spawned the promotion use, if applicable.

subscription_idobjectId

ID of the subscription that spawned the promotion use, if applicable.

The promotion use model
{
  "parent_id": "6285746dd0fc72001a6a2f4e",
  "account_id": "628fb3c90f42a10014f04787",
  "order_id": "62a09d0317f83f001975b491",
  "date_created": "2022-06-08T13:08:10.445Z",
  "id": "62a09f3a17f83f001975b4d1"
},