Fulfill Order
Endpoint: https://api.youcan.shop/orders/{id}/fulfill
Method: PUT
Required Scopes
edit-orders
Body
Param Name | Param Type | Description | Required |
---|---|---|---|
seller_note | string | note from the seller | no |
tracking_number | string | shipping tracking number | no |
Response
[200] Order successfully fulfilled
json
{
"message": "The order is fulfilled successfully.",
"http_code": 200,
"code": "UPDATED",
"type": "success",
"data": null
}
[422] Order already fulfilled
json
{
"status": 422,
"code": "ORDER-ALREADY-FULFILLED",
"detail": "Order #021A is already fulfilled.",
"meta": []
}