Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant update fulfillment_orders_opt_in in fulfillmentService #482

Open
dina304 opened this issue Apr 12, 2021 · 3 comments
Open

Cant update fulfillment_orders_opt_in in fulfillmentService #482

dina304 opened this issue Apr 12, 2021 · 3 comments

Comments

@dina304
Copy link

dina304 commented Apr 12, 2021

Hi
I am trying to pass fulfillment_orders_opt_in parameter to fulfillmentService.update or fulfillmentService.create
but it doesn't accept it
when i call Shopify API directly it does work

@lpinca
Copy link
Collaborator

lpinca commented May 22, 2021

Does it work without it? What is the returned status code?

@dina304
Copy link
Author

dina304 commented May 22, 2021

it returns 202 (all good)
but when i call get fulfillment service it marked false
i wanted to use it for fulfilment webhooks - but i didnt try it yet
mean while i am pulling the fulfillments via API

@joaohedy
Copy link

Same problem here.

This is when I send my request (create or update the fulfillmentService)

{
    "name": "My Fulfillment Service",
    "callback_url": "https://my-domain/fulfillment",
    "inventory_management": false,
    "tracking_support": true,
    "requires_shipping_method": true,
    "fulfillment_orders_opt_in": true,
    "format": "json"
}

After I get this from the service:

{
    "name": "My Fulfillment Service",
    "requires_shipping_method": true,
    "handle": "my-fulfillment-service",
    "id": 57954336927,
    "email": null,
    "include_pending_stock": false,
    "service_name": "My Fulfillment Service",
    "inventory_management": false,
    "tracking_support": true,
    "provider_id": null,
    "location_id": 63210061983
}

I don't even get a fulfillment_orders_opt_in attribute in the reply.

Also, when completing checkout (test) and placing a "Fulfillment Request" in the store admin, nothing arrives to the designated callback_url that is also not present in the reply.

I am running it in firebase functions and using the NPM package shopify-api-node v3.6.12

Any help is appreciated. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants