curl --request PUT \
--url https://api.skulabs.com/order/revert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"store_id": "507f1f77bcf86cd799439011",
"order_number": "<string>"
}
'{
"success": true
}Revert an order back to its previous status, undoing the last status change.
curl --request PUT \
--url https://api.skulabs.com/order/revert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"store_id": "507f1f77bcf86cd799439011",
"order_number": "<string>"
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Order reverted to original stash
Whether the operation succeeded