Collections
Create a new collection
Changed onRate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Creates a new collection with name, description, and optional product list
post/open-api/v1.0/collections
Request
- Base URLhttps://api.fourthwall.com
- URLhttps://api.fourthwall.com/open-api/v1.0/collections
- Auth
- OAuth 2Implicit: https://auth.staging.fourthwall.com/auth/realms/Fourthwall/protocol/openid-connect/authScopes: offer_write
- or HTTP basic
Request body
Example request
{
"name": "My collection",
"description": "My collection description"
}Response
OK
Example response
{
"id": "col_b1EVARkUTcCTSfspQaXr1Q",
"shopId": "sh_c689d374-22ca-43d3-8d29-9ef0805cc4cb",
"name": "My collection",
"slug": "my-collection",
"description": "My collection description"
}Changes
- breaking
added to the
response propertyoneOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added
PRIVATEdiscriminator mapping keys to the//response property for the response status - info
added
PRIVATEdiscriminator mapping keys to the//response property for the response status - info
added
PRIVATEdiscriminator mapping keys to the//response property for the response status
- breaking