Admin Sales: Orders

Create an invoice for an order

Create an invoice for an order

post/orders/{orderId}/invoices

Request

Path parameters

orderIdinteger required

Order ID

Request body

object required

Response

AdminInvoice resource created

idinteger nullable
incrementIdstring nullable
orderIdinteger nullable
orderIncrementIdstring nullable
statestring nullable
emailSentboolean nullable
totalQtyinteger nullable
orderCurrencyCodestring nullable
baseCurrencyCodestring nullable
channelCurrencyCodestring nullable
subTotalnumber nullable
formattedSubTotalstring nullable
baseSubTotalnumber nullable
formattedBaseSubTotalstring nullable
subTotalInclTaxnumber nullable
formattedSubTotalInclTaxstring nullable
baseSubTotalInclTaxnumber nullable
formattedBaseSubTotalInclTaxstring nullable
grandTotalnumber nullable
formattedGrandTotalstring nullable
baseGrandTotalnumber nullable
formattedBaseGrandTotalstring nullable
taxAmountnumber nullable
formattedTaxAmountstring nullable
baseTaxAmountnumber nullable
formattedBaseTaxAmountstring nullable
discountAmountnumber nullable
formattedDiscountAmountstring nullable
baseDiscountAmountnumber nullable
formattedBaseDiscountAmountstring nullable
shippingAmountnumber nullable
formattedShippingAmountstring nullable
baseShippingAmountnumber nullable
formattedBaseShippingAmountstring nullable
shippingAmountInclTaxnumber nullable
formattedShippingAmountInclTaxstring nullable
baseShippingAmountInclTaxnumber nullable
formattedBaseShippingAmountInclTaxstring nullable
shippingTaxAmountnumber nullable
formattedShippingTaxAmountstring nullable
baseShippingTaxAmountnumber nullable
formattedBaseShippingTaxAmountstring nullable
transactionIdstring nullable
remindersinteger nullable
nextReminderAtstring nullable
createdAtstring nullable
updatedAtstring nullable
orderStatusstring nullable
orderStatusLabelstring nullable
orderDatestring nullable
channelNamestring nullable
customerNamestring nullable
customerEmailstring nullable
itemsobject[]

Changes

No recorded changes to this operation across all 8 revisions of this API.