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.

Transaction resource object (REST API)

Transaction resource object (REST API)

mikhailM1
Shopify Partner
2 0 0

Hi all. Im trying to understand how can I detect that order status is "Expiring" or "Expired" (https://help.shopify.com/en/manual/orders/order-status#order-status) with shopify API. I tried to create order and got its transactions info with https://shopify.dev/api/admin-rest/unstable/resources/transaction#resource-object . Order was made with COD payment and shop moved to manual payment capture mode. So after I've added card info I got order status "authorized" (as expected) and button under amount change its text to "Capture payment". Then I made API call and got 2 objects in transactions array - with kind:sale/status:pending and with kind:authorization/status:success . But there are now field "authorization_expires_at" in second object. What I have to do for creating test order with transaction that includes this field?

Replies 0 (0)