ops
ops-assets
Overwrite asset IDs from the transaction log
Changed onUse to overwrite the actual asset_id with the asset_id from the txlog
patch/ops/overwrite-asset-ids-with-txlog-asset-id
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/overwrite-asset-ids-with-txlog-asset-id
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-order:edit
Request body
Example request
{
"assets": [
{
"current_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"new_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
}
]
}Response
OK response.
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"
}
]
}Changes
- info
api operation id
order.overwriteAssetIDsWithTxlogAssetIDsremoved and replaced withorder#overwriteAssetIDsWithTxlogAssetIDs
- info
- info
api operation id
order#overwriteAssetIDsWithTxlogAssetIDsremoved and replaced withorder.overwriteAssetIDsWithTxlogAssetIDs - info
api tag
ops-assetsadded
- info