Generate Order Invoice
POST
/v1/orders/:id/generate-invoice
Generates a new invoice for the given order with given attributes.
Upcoming breaking API change
Please be aware that the fields name
, address
, city
, state
, zip_code
, and country
will soon become required. Ensure that your code is updated accordingly before the change takes effect.
Attributes
name Required
The full name of the customer.
address Required
The street address of the customer.
city Required
The city of the customer.
state Required for US and CA
The state of the customer.
zip_code Required
The ZIP code of the customer.
country Required
The country of the customer.
notes
Any additional notes to include on the invoice.
locale
ISO 639 language code, e.g., ‘en’ for English language.