Streaming live at 10am (PST)

Can I maintain ecommerce product data via the api?

#1

Hi all,

Can anyone help me understand whether we can add, update Products via the api yet?

Is there a Products api yet to be documented in the API reference under Ecommerce?

Any help much appreciated.

#2

From the API docs.

Ecommerce products under the hood are just CMS items with a little bit of extra information. When listing collections, there are three ecommerce specific collections, SKUS , Products , and Categories . SKUs contains specific data like price, size, weight, etc. (item inventory is referenced by SKU) and reference back to a Product . Products can be put into multiple Categories .

https://developers.webflow.com/#ecommerce

1 Like
#3

@webdev Thanks for the reply, I thought this might be so given that other e-commerce endpoints are documented. I just wanted to verify as a few Integration site providers are no not exposing the Price field which I believe is a required field for ecommerce products. Support desks for these sites are stating they are waiting for Webflow to update the api.

1 Like
#4

Have not checked. You could get the full schema and check yourself.

https://developers.webflow.com/#get-collection-with-full-schema

#5

Just checked as I was curious. Price info is in the SKUs collection.
{ "name": "Price", "slug": "price", "type": "CommercePrice", "required": true, "editable": true, "id": "xxxxxxxxxxxxxxxxxxx" },

1 Like
#6

@webdev Thanks for the info I’m hoping to get this all working with Zapier Zaps or Zoho Flows. I’m not a developer so I’m relying on these pre-built integrations to function out of the box but they seem incomplete and experimental at best. Add, Edit Delete was what I was hoping for.

#7

When there are enough people needing something, and willing to pay for it, it will happen. I might even build it so it can integrate with a app I already have to manage orders and invoicing , inventory, customers, and the sales process. :wink:

#8

I’d be interested in a price for sure. I have an ecommerce store 80% complete with 1000 or so SKU’s in Zoho Inventory and I wish to maintain that data there and have it sync with Webflow. Out of interest what are you using to manage invoicing, inventory etc, etc.

#9

Custom app (Mac, Win, IOS) with a server backend.

#10

I’d welcome a price for the integration work let me know what information you’d need.

#11

The big handbrake on the api is not being able to update and create reference fields in products as with other collections. At least I think it is still no doable.

#12

You can certainly add two additional reference fields to e-commerce products in wf via the console. Should not be an issue in the API. Will be testing soon.

#13

@webdev Wonder if you’d offer some advice? I’m trying to find our what the SKU Values field in Zapier Create Item Zap is for and what data I map to it?

Have had zero luck with Webflow support and according to Zapier they wrote the Zap!

Any help would be much appreciated!

#14

If you do an export you will see a variant sku column. Which in the interface is “SKU”, in the Inventory Tracking Section. Which is a unique Stock Keeping Unit for tracking inventory and the like. If you have two systems, you could join the product/inventory data on the SKU. You don’t have to enable inventory tracking to enter a SKU value.

#15

Thanks for that information. I understand the principal of a SKU but to be specific the SKU Value field in the zap is a required field and expecting data to be mapped to it.

So what is the definition of a SKU ‘Value’ is it expecting ‘Variant SKU’, ‘Variant Price’ or any of the other Variant information.

Screen grab

Error thrown:

We had trouble sending your test through.
The app returned “Invalid format for Commerce Property Values”. This usually happens when your Zap is missing a required field or a field value isn’t in a recognized format.
We made a request to api.webflow.com and received (400) Bad Request.

#16

Can’t tell what your doing from a partial screen grab.

Are you adding a new item or updating an existing item?
Has it ever worked for you? Or is this a new problem?
If you manually added a record with your data via the webflow app, does it work?

Fault isolation is tough. Details are essential.

#17

Thanks for the response.

Are you adding a new item or updating an existing item?
A new ecommerce Product. Standard cms items work OK.

Has it ever worked for you? Or is this a new problem?
Not yet, new problem.

If you manually added a record with your data via the webflow app, does it work?
I can add products no problem via the Webflow backend.

Fault isolation is tough. Details are essential.
The SKU Values field is causing the error because it’s not receiving the right data. My question is simply what is it expecting? Is it expecting a mapping of Variant Sku, Variant Price or some other data?

#18

You will need to make sure that each required value is present and conforms to the webflow api validations first.

I can send you the current schema. Just PM me if you need it.