Catalogs
With a key you can see your catalogs and change their settings. Making, editing and publishing catalogs stays in the dashboard.
Needs a key with Catalogs access: Read for GET requests, Read and write for the rest.
List catalogs
GET /catalogs
Your catalogs, the most recently changed first, each with its visits and enquiries of the last 7 days and up to four product photos for a thumbnail.
curl https://app.reeflip.com/api/v1/catalogs \
-H "Authorization: Bearer $REEFLIP_KEY"{
"items": [
{
"id": "4c1e5766-5239-4f5e-a42c-2d66377364ef",
"name": "Northwood shop",
"code": "",
"paused": false,
"template": "lookbook",
"status": "draft",
"unpublished_changes": false,
"visibility": "link",
"prices_shown": false,Change a catalog's settings
PATCH /catalogs/{catalog_id}/settings
Changes only the settings you send: the name, who can open it, and whether search engines may list it.
Who can open it and the search engines choice apply at once, to the live catalog too. A new name goes live the next time the catalog is published.
link lets anyone open it and lists it on your business profile while it is live. password asks for the password first; send one unless it already has one. A new password, or opening it to everyone, signs every reader out.
Send version from when you read the catalog: if it changed since, you get catalog_conflict and nothing changes.
Parameters
catalog_idid RequiredThe catalog's id.
Body
versionnumberThe version you changed; leave it out to change whatever is there.
nametextThe catalog's name.
visibilitylink · passwordlink lets anyone open it and lists it on the business's profile while it is live; password asks for the password first.
passwordtextBuyers type it to open a password-protected catalog.
show_on_googletrue or falseWhether search engines may list it while it is live and open to anyone.
share_photo_idtextThe id of a photo of the business to show when its link is sent, or "" for its cover photo, else its first product's.
Other errors catalog_not_found catalog_conflict
curl -X PATCH https://app.reeflip.com/api/v1/catalogs/89ed0239-db97-4a08-a02b-325094313f3e/settings \ -H "Authorization: Bearer $REEFLIP_KEY" \ -H "Content-Type: application/json" \ -d '{ "show_on_google": false }'
{
"id": "4c1e5766-5239-4f5e-a42c-2d66377364ef",
"name": "Northwood shop",
"code": "",
"status": "draft",
"unpublished_changes": false,
"visibility": "link",
"has_password": false,
"show_on_google": false,
"share_photo_id": "05ca7c7b-92fc-4a2a-a620-3efdab75867d",
"version": 3
}