What's your biggest current challenge? Have your say in Community Polls along the right column.

GraphQL app subscription migration

GraphQL app subscription migration

sinuhe
Shopify Partner
29 0 7

Hi there, 

 

we are definitely migrating from REST API to GraphQL API, as recommended by Shopify on https://www.shopify.com/partners/blog/all-in-on-graphql.

 

However, we found a lack of important information in the GraphQL app subscription object (https://shopify.dev/docs/api/admin-graphql/2024-10/objects/appsubscription). In this object, we miss the fields "activated_on" and "cancelled_on" that are provided by the REST API (https://shopify.dev/docs/api/admin-rest/2024-10/resources/recurringapplicationcharge).

 

On https://shopify.dev/docs/api/admin-rest/2024-10/resources/recurringapplicationcharge, the continuity of this fields is:
- activated_on (REST) --> createdAt (GraphQL)

- cancelled_on (REST) --> currentPeriodEnd (GraphQL)

But this continuity is completely nonsense, as creation and activation dates can be completely different, and cancellation time has nothing to do with the current period end date.

 

Please could you consider to add these activation and cancellation dates to GraphQL?

Thanks and kind regards.

Replies 0 (0)