Marketplaces - Orders V3 - Batches

Send a batch of operations to set 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/setMerchantOrderInfos

Request

Query parameters

testModeboolean

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

Request body

order_MerchantECommerceSoftwareNamestring required

The e-commerce software name of the merchant

order_MerchantECommerceSoftwareVersionstring required

The e-commece software version of the merchant

Example request

{
  "order_MerchantECommerceSoftwareName": "Prestashop",
  "order_MerchantECommerceSoftwareVersion": "123.0.1",
  "orders": [
    {
      "marketplaceTechnicalCode": "Amazon",
      "accountId": "1234",
      "beezUPOrderId": "8D47FF1427A26B064ca98e95f644361ada5a5be0bbb3b53",
      "order_MerchantOrderId": "BX1234"
    },
    {
      "marketplaceTechnicalCode": "Amazon",
      "accountId": "5678",
      "beezUPOrderId": "8D47FF149F213D055f26e3c413e4c9ba5c5cfda460547a4",
      "order_MerchantOrderId": "BX5678"
    },
    {
      "marketplaceTechnicalCode": "Ebay",
      "accountId": "9876",
      "beezUPOrderId": "8D47FF150217B60bdec05ab61c445d1a59e3da050b52823",
      "order_MerchantOrderId": "BX9876"
    }
  ]
}

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