PATCH /v1/external/orders/mapping
This API maps your unmapped inventory products.
Note:
- Products must be unmapped to run this API successfully.
- Inventory sync must be turned on to use this API.
Parameters:
PARAMS | REQUIRED | DATA TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|---|
order_id | YES | integer | The Shiprocket order_id specified to the order. | 16167171 |
order_product_id | YES | integer | The product id of the product to be mapped. | 17171717 |
master_sku | YES | string | The sku id of the product. In the case of a single integrated channel, master sku is the same as channel_sku; Otherwise, it can be found using the 'Get All Products' API. | chakra123 |
Servers
- https://apiv2.shiprocket.in
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
data[] |
Array | No | |
data[].order_id |
Number | No | |
data[].order_product_id |
Number | No | |
data[].master_sku |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.