You can tell Mulberry when a product has been shipped and delivered via this endpoint.
This API endpoint will update orders that already have a warranty attached but also can be used to update orders that do not yet have a warranty attached if you are sending us order data.
Update Shipping/Delivery
HTTP method: POST
Authentication: Private Bearer Token
Staging Endpoint: https://partner-staging.getmulberry.com/api/order_status
Production Endpoint: https://partner.getmulberry.com/api/order_status
Updating Purchased Warranties
{
"order_id": "14553536616",
"line_items": [{
"id": "708cb8e204c44e77bb35cbcc04c763d9",
"status": "delivered",
"date": "2019-04-15"
}]
}
Parameter | Definition | Required | Type |
---|---|---|---|
order_id | Unique order ID from your ecommerce platform | yes | string |
line_items | Line items to update the status of | yes | array |
id | The line_item_id to update the status of | no | string |
status | Status of the product either "shipped" or "delivered" . Use "delivered" for most use cases. | yes | string |
date | The date when the product was shipped or delivered | yes | date |
Updating Products Eligible for Post Purchase
{
"order_id": "14553536616",
"line_items": [
{
"product_id": "401360",
"status": "delivered",
"date": "2022-08-11"
}
]
}
Parameter | Definition | Required | Type |
---|---|---|---|
order_id | Unique order ID from your ecommerce platform | yes | string |
line_items | Line items to update the status of | yes | array |
variant_id | The product id to update the status for. Only required if product_id is not specified | no | string |
product_id | The product id to update the status for. Only required if product_id is not specified | no | string |
status | Status of the product either "shipped" or "delivered" . Use "delivered" for most use cases. | yes | string |
date | The date when the product was shipped or *delivered* | yes | date |