What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Fetching Checkout Form Options via Admin API

Solved

Fetching Checkout Form Options via Admin API

jessica_grav
Shopify Partner
13 0 4

Merchants can set their checkout form options to require first and last name.

 

Is there an endpoint to determine if that have this option selected? I can't seem to find one in the docs. I want to be able to automate checking that first and last name are indeed required (for shipping reasons).

Accepted Solution (1)

Liam
Community Manager
3108 344 895

This is an accepted solution.

HI Jessica_grav,

 

As of now, Shopify's API does not expose an endpoint to determine if the merchant has set their checkout form options to require first and last name. This is a setting that is manually configured by the merchant in their Shopify admin under Settings > Checkout.

 

As a workaround, you might consider instructing your merchants on how to set this option or build it into your onboarding documentation. 

 

Hope this helps,

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

View solution in original post

Replies 3 (3)

Liam
Community Manager
3108 344 895

This is an accepted solution.

HI Jessica_grav,

 

As of now, Shopify's API does not expose an endpoint to determine if the merchant has set their checkout form options to require first and last name. This is a setting that is manually configured by the merchant in their Shopify admin under Settings > Checkout.

 

As a workaround, you might consider instructing your merchants on how to set this option or build it into your onboarding documentation. 

 

Hope this helps,

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

jessica_grav
Shopify Partner
13 0 4

Definitely worth looking into adding if you have the power to make that request. Takes a lot of administration out of a step that can and does have an effect on custom shipping rates  (i.e. retrieving quotes from a 3rd party, some will reject without a first and last name).

 

Thank you for the response.

automate-user
Visitor
1 0 0

This is a setting that is configured by the merchant in their Shopify admin under Settings > Checkout

fashionplay.ca