exports

Update an export

Changed on

Update an export

patch/exports/{exportId}

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/exports/{exportId}
  • Auth
    HTTP bearer

Path parameters

exportIdstring required

The resource's id

Request body

Example request

{
  "data": {
    "id": "XAyRWNUzyN",
    "attributes": {
      "_start": true,
      "_interrupt": true,
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      }
    }
  }
}

Response

The updated export object

Changes

    • info

      removed the business_rules enum value from the // response property for the response status

    • info

      removed the discount_engine_items enum value from the // response property for the response status

    • info

      removed the discount_engines enum value from the // response property for the response status

    • warning

      added the new business_rules enum value to the // response property for the response status

    • warning

      added the new payment_links enum value to the // response property for the response status

    • warning

      added the new payment_sessions enum value to the // response property for the response status

    • warning

      added the new payment_settings enum value to the // response property for the response status

    • warning

      added the new payment_transactions enum value to the // response property for the response status

    • warning

      added the new payment_wallets enum value to the // response property for the response status