Generate tax invoice for order

POST https://app.ecwid.com/api/v3/{storeId}/orders/{orderId}/invoices/create-invoice

Required access scopes

Your app must have the following access scopes to make this request: create_orders

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

orderId

number

Order ID. Can contain prefixes and suffixes, for example: EG4H2,J77J8,SALE-G01ZG

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the ID of the created invoice.

Field
Type
Description

id

number

Internal ID of the created invoice.

Last updated

Was this helpful?