v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Orders

Update order tags and attributes

Updates order tags and attributes.

Active subscriptions with these attributes will automatically update to reflect the new tags and attributes.

post/orders

Request body

Example request

{
  "orders": [
    {
      "order": "abcDEFgHiJklM1N-3OP9q",
      "tags": {
        "TagKey1": "TagValue1",
        "TagKey2": "TagValue2"
      },
      "items": [
        {
          "product": "furious-falcon",
          "attributes": {
            "AttributeKey1": "AttributeValue1",
            "AttributeKey2": "AttributeValue2"
          }
        }
      ]
    }
  ]
}

Response

OK

Example response

{
  "orders": [
    {
      "action": "order.update",
      "result": "success",
      "order": "abcDEFgHiJklM1N-3OP9q"
    }
  ]
}