ProductListing available boolean

Solved
diadev
Tourist
6 0 1

What does the "available" boolean field in the ProductListing object represent? There is no documentation on this.

 

Accepted Solution (1)

Accepted Solutions
GrahamS
Shopify Staff (Retired)
Shopify Staff (Retired)
193 36 51

This is an accepted solution.

Hello @diadev ,

Products that are in Draft or Archived statuses can be published to sales channels. However, this makes them "published", but "unavailable". Changing a published product to "active" will cause them to become "available".

I hope this clears it up!

Best,

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)
GrahamS
Shopify Staff (Retired)
Shopify Staff (Retired)
193 36 51

This is an accepted solution.

Hello @diadev ,

Products that are in Draft or Archived statuses can be published to sales channels. However, this makes them "published", but "unavailable". Changing a published product to "active" will cause them to become "available".

I hope this clears it up!

Best,

Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

diadev
Tourist
6 0 1

Yes thank you. Would be good if Shopify included this in their documentation!