post
https://{store}/api/rest/sales2/orders/creditmemo
| Param | Notes |
|---|---|
orderIncrementId | The increment ID of the order to create the credit memo for. |
itemsQty | Object key is itemId and the value is qty. (ex. [{ "311": "2", "312" : "1" }] Would credit 2 of order item 311 and 1 of order item 312) The Order Item ID that is used will always be the Parent ID in the event of a Configurable/Grouped/Bundled product. If an empty JSON object is posted then it will process ALL remaining items. |
comment | Message to send to create on credit memo for customer to see. (Optional) |
email | Flag to send credit memo email to customer on creation. Use value 1 to send |
includeComment | Flag to include comment on the email, if sent. Use value 1 to include. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
