English:
Hi everyone,
I’m working on an integration with Shopify using the Admin REST API, and I’m facing an issue when trying to change an order status from “unfulfilled” to “fulfilled”. I’ve already checked the documentation on Fulfillments, but I’ve run into a roadblock.
The documentation mentions that a fulfillment_order_id is required to create a fulfillment and, therefore, mark the order as “fulfilled”. However, I can’t find a way to generate or retrieve this fulfillment_order_id.
Could someone guide me on how to create a fulfillment or how to mark an order as fulfilled from my app? Am I missing a step in the API, or is there an endpoint I should be checking beforehand?
Any help would be greatly appreciated.
Thanks in advance!
Español:
Hola a todos,
Estoy trabajando en una integración con Shopify utilizando el Admin REST API y me encuentro con un problema al intentar cambiar el estado de una orden de “no preparado” a “preparado”. Ya revisé la documentación en Fulfillments, pero me he encontrado con un obstáculo.
La documentación menciona que es necesario un fulfillment_order_id para crear un fulfillment y, por lo tanto, marcar la orden como “preparada”. Sin embargo, no encuentro la manera de generar o encontrar este fulfillment_order_id.
¿Alguien podría orientarme sobre cómo puedo crear un fulfillment o cómo puedo marcar una orden como preparada desde mi aplicación? ¿Estoy pasando por alto algún paso en la API o hay algún endpoint que deba consultar previamente?
Cualquier ayuda sería muy apreciada.
¡Gracias de antemano!