Marketplaces - Orders V3 - Batches

Send a batch of operations to clear an Order's merchant information (max 100 items per call)

Changed on

The purpose of this operation is to reduce the amount of request to the API.

post/orders/v3//batches/clearMerchantOrderInfos

Request

Query parameters

testModeboolean

If true, the operation will be not be apply. But the validation will be taken in account.

Request body

Example request

{
  "orders": [
    {
      "marketplaceTechnicalCode": "Amazon",
      "accountId": "1234",
      "beezUPOrderId": "0"
    },
    {
      "marketplaceTechnicalCode": "Amazon",
      "accountId": "5678",
      "beezUPOrderId": "0"
    },
    {
      "marketplaceTechnicalCode": "Ebay",
      "accountId": "9876",
      "beezUPOrderId": "0"
    }
  ]
}

Response

Succesfully received and processed batched operations. Please check response to see the status per operation.

Example response

{
  "operations": [
    {
      "order": {
        "marketplaceTechnicalCode": "Amazon",
        "beezUPOrderId": "00000000000000000000000000000000000000000000000"
      },
      "errors": [
        {
          "docUrl": "https://api-docs.imn.io/#operation/EnableChannelCatalog",
          "message": "There is already an importation in progress: b24d0dd8-a561-478a-9b26-34f573f03527\n",
          "cultureName": "en"
        }
      ],
      "executionUUID": "8D4176FA78D5A7Fffa91e9edc694ec5858be9a1b109507c"
    }
  ]
}

Changes