POST
/
api
/
orders
/
calculate
/

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
details
object[]
required
zipcode
string
coupon
string | null
store
integer | null

Response

201 - application/json
details
object[]
required
patient
integer
required
payment_method
integer
required
id
integer
shipping
integer | null
store
integer | null
payment
integer | null
paypal_agreement
integer
invoicing
integer | null
coupon
string
Required string length: 1 - 16
shipping_method
integer
prescriptions
object[]
created_at
string
updated_at
string
deleted_at
string | null
insurance_refund_status
enum<string>
Available options:
not_started,
missing_data,
sent_to_broker,
sent_to_insurer,
approved_by_insurer
order_status
enum<string>
Available options:
quoted,
pending_approval,
approved,
in_process,
ready,
shipped,
delivered,
cancelled,
delayed,
shortage
payment_status
enum<string>
Available options:
unpaid,
credit,
paid,
in_process,
processing,
rejected
rejection_reason
string
Minimum length: 1
origin
string
Maximum length: 20
subtotal
string
iva
string
shipping_price
string
shipping_discount
string | null
shipping_cost
string
discount
string
total
string
payment_date
string
shipping_date
string
expected_delivery_date
string
max_delivery_date
string
receiving_date
string
folio
string
Maximum length: 20
cfdi
string
Minimum length: 1
external_payment_id
string
Minimum length: 1
generated_by
integer | null
updated_by
integer | null
reminder
integer | null
subscription
integer