exports

Create an export

Changed on

Create an export

post/exports

Request

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

Request body

Example request

{
  "data": {
    "attributes": {
      "resource_type": "skus",
      "format": "json",
      "includes": [
        "prices.price_tiers"
      ],
      "fields": [
        "code",
        "name",
        "prices.*",
        "prices.price_tiers.price_amount_cents"
      ],
      "filters": {
        "code_eq": "AAA"
      },
      "jwt_filters": true,
      "reference": "ANY-EXTERNAL-REFEFERNCE",
      "reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
      "metadata": {
        "foo": "bar"
      }
    }
  }
}

Response

The created export object

Changes

    • breaking

      removed the enum value business_rules of the request property //

    • breaking

      removed the enum value discount_engine_items of the request property //

    • breaking

      removed the enum value discount_engines of the request property //

    • 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

    • info

      added the new business_rules enum value to the request property //

    • info

      added the new payment_links enum value to the request property //

    • info

      added the new payment_sessions enum value to the request property //

    • info

      added the new payment_settings enum value to the request property //

    • info

      added the new payment_transactions enum value to the request property //

    • info

      added the new payment_wallets enum value to the request property //