This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
curl --location -g --request POST '{{subdomain}}/api2/api2/credit_notes.json' \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'APIKEY: {{apiKey}}' \
--header 'Content-Type: text/plain' \
--data-raw '{
"CreditNote": {
"client_id": 15,
"store_id": 1,
"currency_code": "USD",
"date": "2023-08-30",
"client_business_name": "Example Client",
"client_first_name": "John",
"client_last_name": "Doe",
"client_email": "client@example.com"
},
"InvoiceItem": [
{
"invoice_id": 0,
"product_id": 123,
"quantity": 1,
"unit_price": 99.99,
"item": "Product Name"
}
]
}'
{}