Storefront API - Cart completedAt property

aganglada
Visitor
2 0 1

Hello everyone,

 

While using the Storefront API (2021-10) we used to create carts with Checkout but now we would like to transition to using Carts.

We notice there was a completedAt property that's not there anymore (Is that intentional?). Would like to know how we could check that the cart is been completed without that field.

 

Reference: https://shopify.dev/api/storefront/reference/cart/cart

 

Thank you in advance.

Replies 3 (3)

asingerdev
Visitor
2 0 0

Hi, bumping this as I'm running into the same issue. @aganglada did you find any solution here?

aganglada
Visitor
2 0 1

Apparently the cart will automatically return null when it's completed. So checking that you will get the same outcome.

asingerdev
Visitor
2 0 0

Oh that's good to know! (And not evident/explained anywhere in @Shopify  docs. Thank you for the response!