Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Plans to expose a DeliveryProfile endpoint in REST API?

Plans to expose a DeliveryProfile endpoint in REST API?

Melbot
Shopify Partner
6 0 5

Hello, I am developing a custom app for a client and I would like to programmatically update his custom shipping profiles (which I believe are DeliveryProfile in graphQL) in order to add new products to specific profiles without having to do it manually. Are there any plans to let us access this in the future?

Reply 1 (1)

oscprofessional
Shopify Partner
16377 2441 3190

@Melbot 

https://shopify.dev/api/admin-graphql/2022-10/objects/deliveryprofile   this is  GraphQL link of Shopify  and for mutation : https://shopify.dev/api/admin-graphql/2022-10/objects/deliveryprofile#mutations

 

Not sure if Rest also has that but would recommend use of GraphQL.

 

Above link has : 

deliveryProfileCreate
(input: DeliveryProfileInput)
mutation    which shall be useful to achieve 
DeliveryProfileInput.variantsToAssociate  : check this field for mapping a delivery profile to product variants.
 
Thanks!!
Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...