PATCH
/
api
/
orders
/
{id}
/
request-invoice
/

Authorizations

X-API-KEY
string
headerrequired

Path Parameters

id
integer
required

A unique integer value identifying this order.

Body

application/json
full_name
string
required
Required string length: 1 - 100
rfc
string
required
Required string length: 1 - 20
street
string
required
Maximum length: 250
exterior_number
string
required
Maximum length: 20
neighborhood
string
required
Maximum length: 100
city
string
required
Maximum length: 100
state
string
required
Maximum length: 100
country
string
required
Maximum length: 100
zipcode
string
required
Maximum length: 20
cfdi_use
string
required
Maximum length: 4
fiscal_regime
string
required
Maximum length: 3
latitude
string | null
longitude
string | null
email
string
Maximum length: 254

Response

200 - 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