Replace the full list of gated access codes for an item
PUT/item/items/:merchant_item_oid/gated_codes
Existing codes not present in the request body are deleted. New codes are inserted. Unchanged codes preserve their OID and created_dts.
Replacing the gated access code list cannot be reversed through the API. Check the target before you call it. If an automated agent is making the call, have it confirm with a person first.
Request
Responses
- 200
- 400
- 401
- 410
- 429
- 500
Successful response
Status Code 400: bad request input such as invalid json
Response Headers
Contains human readable error message
Status Code 401: invalid credentials supplied
Response Headers
Contains human readable error message
Status Code 410: Your authorized application has been disabled by UltraCart
Response Headers
Contains human readable error message
Status Code 429: you have exceeded the allowed API call rate limit for your application.
Response Headers
Contains human readable error message
Status Code 500: any server side error. the body will contain a generic server error message
Response Headers
Contains human readable error message