Skip to main content
PATCH
Update Credit Note

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

The idempotency key that will be used to ensure the request is only performed once

Path Parameters

company_id
string
required

The company ID with the prefix 'cmp_'.

id
string
required

The resource ID

Body

application/json
internal_note
null | string

Optional note attached to the credit note. This note will only be visible to admins

internal_reason
null | string

Internal reason attached to the credit note. This reason will only be visible to admins

note
null | string

Optional note attached to the credit note. This note will be visible to the customer

Response

200 - application/json

OK

customer
object
customer_id
string
effective_date
string<date-time>

The date the credit note is effective at

id
string
internal_note
null | string

Internal note attached to the credit note

internal_reason
string

The reason for the credit note, such as ORDER_CHANGE, DUPLICATE, FRAUDULENT, or PRODUCT_UNSATISFACTORY

invoice
object
invoice_uuid
string
line_items
object[] | null

The invoice line items for the credit note

name
string
note
null | string

Note attached to the credit note

refund_options
object
total
object

The total amount for the credit note