Skip to main content
POST
/
api
/
ext
/
v1
/
collection
Create a new collection
curl --request POST \
  --url https://staging-api.covver.io/api/ext/v1/collection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "files": {
    "buffer": "<any>",
    "mimetype": "image/png",
    "encoding": "<string>",
    "filename": "<string>"
  }
}'
{
  "companyId": "<string>",
  "companySlug": "<string>",
  "collectionId": "<string>"
}
Use this API if you want to create the collections via API. You could also create them manually from your partner dashboard
Store creation takes about 30 seconds. Use the Get collection status API to poll for the status
Omit companyId if you want to create a new company as well

Authorizations

Authorization
string
header
required

Query Parameters

companyId
string
logoUrl
string
storeType
enum<string>
default:Coins
Available options:
Coins,
Gifts
theme
enum<string>
default:GENERAL
Available options:
GENERAL,
BACK TO SCHOOL,
ECO,
SPORT,
SUMMER,
HATS,
WINTER_SNOW,
HOLIDAYS_SNOW,
PRIDE,
SNAPPY
allowPaymentCheckout
enum<string>
Available options:
true,
false
firstName
string
lastName
string
department
string
location
string

Body

application/json
files
object

Response

companyId
string
required
companySlug
string
required
collectionId
string
required