Skip to main content

Get Open Sales Credits

GET 

/api/customers/:customer/open-sales-credits

Get the customer's open sales credits that can still be applied as store credit, each with its unapplied balance. A credit note issued against a sales invoice is included for whatever part of it that invoice did not absorb (for example a credit on an already-paid invoice); overpayment credits are included.

Required scope: customers:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

total is the credit's tax-inclusive value (line amounts plus tax for tax-exclusive credits) and balance is total less every amount already applied — the same basis applied amounts are recorded on.

Authentication: Requires Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type