Plans to expose a DeliveryProfile endpoint in REST API?

Melbot
Shopify Partner
6 0 4

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
15782 2362 3068

@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!!
Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing