How to work with FulfillmentService/Fulfillment API, if users token expires during the day

Solved
dimamj
Tourist
9 1 0

Hi! We use webhooks to get orders from shopify. Then we produce them and sent to customer. So the question is how we can work with FulfillmentService/Fulfillment without users token that expires during the day ? We want to mark order as shipped and add tracking info (carrier, tracking number, url) (to do it we also have to create own FulfillmentService to get locationId). 

Thanks.

0 Likes
dimamj
Tourist
9 1 0

Also as I understand, if I create FulfillmentService using API, shopify user still need to manually add shipping options for it (this can't be done using the api), right ? 

0 Likes
dimamj
Tourist
9 1 0

This is an accepted solution.

I found solution. I have to use offline token instead of online and shop have to set shipping options for FS manually (at least for now it's the only possible way)

0 Likes