Redemption
Create a credit redemption request for a member.
post
Forwards a redemption request to the Inveterate backend. Returns the success status of the request against the backend service. Like the other endpoints that make requests against our backend, the changes may not take effect immediately.
Path parameters
idstringRequired
The customer ID number.
Header parameters
X-Inveterate-Api-KeystringRequired
Your private Inveterate API key.
Responses
201
Returned upon successful request made to our backend.
Requests that return this code may take a small amount of time after successful API return to fully update.
application/json
400
Returned upon a malformed request. Check your API key, URL parameters, and body parameters when this error is returned.
Generally, if you see this error, that also means NO action was taken on our backend.
application/json
500
Returned for all other errors. Generally these come from our backend.
Some multipart functions may execute somewhat and then fail, causing some data to be updated.
application/json
post
POST /v2.0/storefront/members/{id}/credits/redemption HTTP/1.1
Host:
X-Inveterate-Api-Key: text
Accept: */*
{
"message": "text",
"data": {}
}
Was this helpful?