/
Upsert a list
Creates or updates (upserts) a list with a specified ID.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/lists/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/lists/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/lists/{id}
- SecretApiKey
- JWT
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/lists/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"description": "string",
"values": [
"string"
]
}'List updated.
Headers
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Example:3600
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
{ "id": "lst_0YVCXVQH84DEF93D8VBTJQ9TGK", "version": 1, "description": "string", "values": [ "string" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }