v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
ops

overwriteAssetIDsWithTxlogAssetIDs order

Use to overwrite the actual asset_id with the asset_id from the txlog

patch/ops/overwrite-asset-ids-with-txlog-asset-id

Request body

Example request

{
  "assets": [
    {
      "current_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "new_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
    }
  ]
}

Response

OK response.

unprocessed_idsstring[] required

The list of asset IDs that were not updated

Example response

{
  "unprocessed_ids": [
    "abc123"
  ],
  "updated_assets": [
    {
      "belongs_to_asset_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "offer_line_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "product_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
      "requires_serial_number": false,
      "seller_product_references": [
        {
          "reference": "123ab-5343",
          "source": "sap"
        }
      ],
      "serial_number": "BA-3456786-334-9",
      "status": "shipped",
      "title": "Pro Laptop 64GB",
      "tracking_url": "abc123"
    }
  ]
}