Open dina304 opened 3 years ago
Does it work without it? What is the returned status code?
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
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.
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