application/json

Body

Updates order items status to a new a new status

  • itemIds array[string] Required

    List of order item ids to update

  • status string Required

    New status for the order items

Responses

  • 204

    No content

  • 400

    Bad request

  • 422

    Unprocessable request

POST /v1/order/update
curl \
 --request POST 'https://api.classmanager.io/v1/order/update' \
 --header "Content-Type: application/json" \
 --data '{"itemIds":["ordi_01jq6nbd773fbtsfdd3y7fd13g"],"status":"shipped"}'
Request examples
{
  "itemIds": [
    "ordi_01jq6nbd773fbtsfdd3y7fd13g"
  ],
  "status": "shipped"
}