Fulfillment Order -> Delivery Method -> Pickup documentation inaccurate

DanAtBonify
Shopify Partner
54 4 31

The Fulfillment Order documentation states that the delivery_method/method_type can have a value of "pick_up".

 

However, in the API, when fetching the Fulfillment Order object, a pickup is actually marked as "pick-up" (hyphen vs. underscore).

 

API Docs:

Screenshot 2023-12-19 at 9.53.44 AM.png

 

 

 

 

 

 

 

 

 

 

 

 

Result from API:

Screenshot 2023-12-19 at 10.03.32 AM.png

 

 

 

 

 

 

 

 

 

The value in the REST API is actually unexpected. Typically, string values like that use underscores and not hyphens.

Reply 1 (1)

Liam
Shopify Staff
2731 292 743

Hi Dan,

 

Thanks for flagging this - I've opened up an issue with our internal teams to either change the docs or the value in the API. 

Liam | Developer Advocate @ 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