The order status is updated by a simple PUT call. The orderStatus is an enum and you can find the available option under section Models->orderStatus at the API-reference
Read about localId and remoteId in the API-documentation.
Update using localId
Endpoint:
PUT /order/{localId}
Example request body:
{
"orderStatus": "completed"
}
Update using remoteId
Make a PUT-call to update the order status in plugboard.
Endpoint:
PUT /order/by-remote-id?remoteId={remoteId}
Request body:
{
"orderStatus": "completed"
}
Kommentarer
0 kommentarer
Artikeln är stängd för kommentarer.