Skip to main content
POST
Test shipping rules against an order

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
fulfillment_order_id
integer | null

Required unless order_number is given.

order_number
string | null

Required unless fulfillment_order_id is given.

Maximum string length: 100
rules
object[] | null

A draft rule list to test instead of the saved rules. Never saved.

service_code
string | null

The service to check a label refusal for.

Maximum string length: 120
at
string<date-time> | null

When the label would be bought. Defaults to now.

Response

Evaluation result.

data
object