Tax registration
Gets all tax regitrations data to the customer's cart.
Notes: Below path has been deprecated.
GET /carts/{cartId}/tax-registrations
Query parameters
apiKeystringOptional
The client identifier used to authorize the request. You must specify either an apiKey
or a token
.
tokenstringOptional
Authorized or anonymous token for a customer. You must specify either an apiKey
or a token
.
Responses
200
Successful response.
application/json
409
* ip-address-restriction-error
application/json
get
GET /v1/shoppers/me/carts/active/tax-registrations HTTP/1.1
Host: api.digitalriver.com
Accept: */*
[
{
"key": "UK_VAT",
"value": "GB698588737"
}
]
Updates the tax regitrations data to the customer's cart.
Notes: Below path has been deprecated.
POST /carts/{cartId}/tax-registrations
Query parameters
tokenstringRequired
Authorized or anonymous token for a customer.
Body
keystringOptionalExample:
Tax Registration Key
UK_VAT
valuestringOptionalExample:
Tax ID value
GB698588737
Responses
200
Successful response.
application/json
400
* missing-information
* missing-customer-type
* missing-tax-registrations
application/json
409
* vat-exemption-failure
* invalid-customer-type
* missing-tax-identification
* invalid-tax-identification
application/json
post
POST /v1/shoppers/me/carts/active/tax-registrations HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 40
[
{
"key": "UK_VAT",
"value": "GB698588737"
}
]
[
{
"key": "UK_VAT",
"value": "GB698588737"
}
]
Remove the tax regitrations data from customer's cart.
Query parameters
tokenstringRequired
Authorized or anonymous token for a customer.
Responses
204
Successful response.
409
* vat-exemption-failure
application/json
delete
DELETE /v1/shoppers/me/carts/active/tax-registrations HTTP/1.1
Host: api.digitalriver.com
Accept: */*
No content
Last updated