A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I am in a project and i need to add some entities like, PriceSRP,PriceCost, VATId, SupplierId,CompanyId, but i cant find a property in shopify documents to those entities. how can i do it? And if i need to create a specific entitie, whot custom values, is some property, to do it?
Hey @Omnium_User - most these fields don't exist within the product resources in our admin APIs. You can retrieve the product vendor's name through the Product Object, or through a GraphQL query on the productVendors object. That said, you could create these custom "fields" through our Metafields API. This is how many devs add additional data content to specific products/variants.
Hope this helps!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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