Skip to content
Developersskuflo.iov1Changelog

Reject a waiting order

POST/v1/orders/{id}/rejectFactory API keyBase URL api.skuflo.io

A reason is required; the retailer is told by email, push and the order.rejected webhook.

Try it now

Path parameters#

NameTypeDescription
idrequiredstring (uuid)·

Body parameters#

NameTypeDescription
reasonrequiredstring, max 500·

Responses#

StatusMeaning
200Success. An example body is in the column on the right.

Other errors#

StatusMeaning
401No key, or the key is not recognised.
402billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled.
403The key is valid but its role cannot do this.
404Nothing with that id in your factory.
422The body failed validation. The response lists every problem at once.
429More than 600 requests a minute. Wait retry-after seconds.