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.

orders/edited webhook committed_at timestamp is the same as created_at

Solved

orders/edited webhook committed_at timestamp is the same as created_at

edlainezamora
Shopify Partner
3 0 0

Hey all, I'm testing the new attribute committed_at that was added the 2024-07 version and it seams to have an issue. In this changelog I see:

 

With this new attribute, you can precisely identify when an edit to an order is finalized, adding a new layer of clarity that was previously missing: created_at represents when the order edit was created, but not when it was persisted to the order.

So, I should see the timestamp from the orderEditCommit mutation execution.

Is there anything I'm doing wrong or is that a bug?

 

Here is an example of the orders/edited webhook payload:

{
  "order_edit": {
    ...
    "created_at": "2024-07-16T14:37:35-04:00",
    "committed_at": "2024-07-16T14:37:35-04:00",
    "staff_note": "Test I edited the order! It was me!"
    ...
  }
}

 

Thanks in advance

Accepted Solution (1)

Liam
Community Manager
3108 344 904

This is an accepted solution.

Hi Edlainezamora,

 

I've flagged this with our dev team who have identified this behaviour is a bug on our side. We're working on a fix now for this - thanks for posting here on this issue! 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 904

This is an accepted solution.

Hi Edlainezamora,

 

I've flagged this with our dev team who have identified this behaviour is a bug on our side. We're working on a fix now for this - thanks for posting here on this issue! 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

edlainezamora
Shopify Partner
3 0 0

@Liam 

Thank you!