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.

Re: Merchant cant request fulfillment even after creating a Fulfillment Service under our app

Solved

Merchant cant request fulfillment even after creating a Fulfillment Service under our app

Aniket-Chopade
Shopify Partner
5 0 0

Our app creates a fulfillment service for the merchants store using:
/admin/api/2024-07/fulfillment_services.json
when the merchant installs the app and authenticates themselves using oauth for the first time.

Yet when a customer places an order, the merchant cant request for a fulfillment as indicated in the screenshot below. The button simply is not visible.
https://imgur.com/a/WnS9c7b

I have used the following guide and there seems to be no step between creating a service and notifying a request.
https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillmen...
Could some one guide me as to if there are any specific configurations related to the store/app setup that is required for this functionality?

Accepted Solution (1)
Eric-HAN
Shopify Partner
282 30 30

This is an accepted solution.

HI, bro

This may be acceptable. However, you need to confirm the fulfillment order location. This is because an item might have multiple available locations. 

EricHAN_0-1725284973197.png

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee

View solution in original post

Replies 4 (4)

Eric-HAN
Shopify Partner
282 30 30

Hi,there

Have your assign your products of your order to your service location?

could you give a screenshot for better understanding?

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee
Aniket-Chopade
Shopify Partner
5 0 0

Do you mean assigning a fulfillment service to the product variant?
I have done that by sending PUT request on this endpoint: /admin/api/2024-07/variants/808950810.json

with the body: "fulfillment_service": "agrihopper-fulfillmet-service"
I got response

AniketChopade_0-1725282863418.png

 

Please let me know if there are any steps after this
This is what i see: https://imgur.com/a/uQUWhCg
This is the button I want the merchant to be able to see: https://imgur.com/a/WnS9c7b

Eric-HAN
Shopify Partner
282 30 30

This is an accepted solution.

HI, bro

This may be acceptable. However, you need to confirm the fulfillment order location. This is because an item might have multiple available locations. 

EricHAN_0-1725284973197.png

 

- Helpful? Please hit Like and mark it as a solution
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me    Buy Me A Coffee
Aniket-Chopade
Shopify Partner
5 0 0

I seem to have already done that here on the product variant page:

AniketChopade_0-1725286971522.png


It seems to be working for all new orders now thank you.