Menu
Create order/{orderId}/invoice
Create order/{orderId}/invoice
POST
/V1/order/{orderId}/invoiceUse it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Create order/{orderId}/invoice action (under Orders).
- Fill in the fields below, then reference the result from later steps as
{{createOrderOrderidInvoice.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"capture": false,
"items": [
{
"order_item_id": 0,
"qty": 0,
"extension_attributes": {}
}
],
"notify": false,
"appendComment": false,
"comment": {
"comment": "string",
"is_visible_on_front": 0,
"extension_attributes": {}
},
"arguments": {
"extension_attributes": {}
}
}
Response
Returns 200 with a integer. Read it in later steps with {{createOrderOrderidInvoice.response.data.<field>}}.
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?