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
Shopify Staff
2731 302 783

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
Shopify Staff
2731 302 783

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