List Vendor Credit Reasons
GET/api/vendor-credits/credit-reasons
List the reasons a supplier issues a credit and the per-line cost behaviours they default to, with the plain-English explanation each option shows.
accounting:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
reasons[] — value is what you send as credit_reason on a vendor credit; default_cost_impact is the behaviour product lines take when that reason is set (non-product lines are always financial_only). A reason is a default, never a lock — any line can still be set individually.
cost_impacts[] — the four cost_impact values a line can carry: return_goods (the goods go back to the supplier; stock drops when the return shipment is recorded), write_off_goods (the goods stay but cannot be sold; stock drops on authorize), reduce_cost (you keep the goods and the supplier charged too much; quantity is unchanged and the unit cost of the credited goods goes down — units still in stock get cheaper, units already sold get a cost-of-goods true-up), financial_only (only what you owe changes; stock quantity and cost are untouched).
Authentication: Requires Bearer token (PAT).
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.