fabric · Example Payload

Fabric Toggle Promotion Example

CommerceComposable CommerceHeadless CommerceE-commerceRetailCartCatalogPIMOMSInventoryOffersPricingPromotionsCheckoutIdentityExperiencesAgentic Commerce

Fabric Toggle Promotion Example is an example object payload from fabric, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.fabric.inc/v3/promotions/promo_vip20/actions/toggle",
    "headers": {
      "Authorization": "Bearer {{FABRIC_ACCESS_TOKEN}}"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "promotionId": "promo_vip20",
      "name": "VIP 20% Off",
      "status": "ACTIVE",
      "discountType": "PERCENT",
      "value": 20
    }
  }
}