/
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}
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
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Example:500
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
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": [ { … } ] }