Credit Note Line Items
Update a CreditNoteLineItemGroup
Update a CreditNoteLineItemGroup
PUT
/
credit-notes
/
{creditnote}
/
line-item-groups
/
{id}
Header
Path
Body
curl --request PUT \
--url https://eu.sequencehq.com/api/credit-notes/{creditnote}/line-item-groups/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Users"
}'
{
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"description": "Credit note for users",
"grossTotal": "101.23",
"id": "e5bc0f12-4bc1-f821-bc2d-04639a16f9ec",
"index": 2,
"lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}
Headers
Authorizationrequired
string
Your API credentials. Eg. Basic {credentials}
.
Idempotency-Key
string
Specifying a unique ID for this request here lets you retry it without risk of performing the same operation twice.
Path Parameters
creditnoterequired
string
The CreditNote ID
idrequired
string
Credit Note Line Item Group ID
Body
application/json
description
string
titlerequired
string
Response
200 - application/json
creditNoteIdrequired
string
description
string
grossTotalrequired
string
idrequired
string
indexrequired
integer
lineItemGroupId
string
netTotalrequired
string
titlerequired
string
totalTaxrequired
string
curl --request PUT \
--url https://eu.sequencehq.com/api/credit-notes/{creditnote}/line-item-groups/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Users"
}'
{
"creditNoteId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"description": "Credit note for users",
"grossTotal": "101.23",
"id": "e5bc0f12-4bc1-f821-bc2d-04639a16f9ec",
"index": 2,
"lineItemGroupId": "af60cab3-812d-4250-a051-0fb7133a00c7",
"netTotal": "51.20",
"title": "Users",
"totalTax": "2.50"
}