Guides
Swag catalog manager (deprecated)
NOTE! This feature is deprecated. Please use our external admin dashboard for the time being
How to embed the swag catalog manager
To allow embedding our iframe, please contact rnd@covver.io to add your domain to our Content Security Policy
1
Create a company
If this is the first visit of a customer, you should create a company using the Create Company API.
In response, you will receive a companyId
and a companySlug
.
2
Create a token for this company
Use the Create OAuth Tokens API to get a refreshToken
and accessToken
for this company.
Make sure to pass the companyId
to get a token for this specific customer.
3
Show a pre-authenticated iframe
Use the accessToken
, refreshToken
and companySlug
in the iframe URL as follows:
Note to replace
dev-admin.covver.io
to admin.covver.io
when using the live environmentDeep linking the iframe
You can choose to show the iframe on a specific page:
Catalog page (manage collections):
Collection page (manage products):
Design editor (edit a specific product):
Always include the
?covverAccessToken=${accessToken}&covverRefreshToken=${refreshToken}
query paramsListen to post messages
Register to post messages to listen to events within the iframe:
Event types: