The REST Admin API is a legacy API as of October 1, 2024. Starting April 1, 2025, all new public apps must be built exclusively with the GraphQL Admin API. For details and migration steps, visit our migration guide.
Event
Events are generated by some Shopify resources when certain actions are completed, such as the creation of an article, the fulfillment of an order, or the addition of a product. By requesting events, your app can know when certain actions have occurred in the shop.
The events returned by the Event resource should not be considered to be realtime. Events might not be created until a few seconds after the action occurs. In rare cases it can take up to a few minutes for some events to appear.

Resources that can create events
Events are generated by the following resources:
Article events
Verb | Message | Description |
---|---|---|
create | New article created: article_url | The article was created. |
destroy | article_url was destroyed. | The article was deleted. |
published | article_url was published. | The article was published. |
unpublished | article_url was unpublished. | The article was unpublished. |
update | article_url was updated (but its published state was not changed). | The article was updated. |
Blog events
Verb | Message | Description |
---|---|---|
create | New blog created: new_blog_url | The blog was created. |
destroy | blog_name was destroyed. | The blog was deleted. |
update | blog_name was updated. | The blog was updated. |
Collection events
Verb | Message | Description |
---|---|---|
create | New collection created: collection_url | The collection was created. |
destroy | collection_url was destroyed. | The collection was deleted. |
published | collection_url was published. | The collection was published. |
unpublished | collection_url was hidden. | The collection was hidden. |
update | collection_url was updated. | The collection was updated. |
Comment events
Verb | Message | Description |
---|---|---|
create | New comment for article_url : comment_excerpt | The comment was created. |
Order events
Order events can be divided into the following categories:
- Authorization: Includes whether the authorization succeeded, failed, or is pending.
- Capture: Includes whether the capture succeeded, failed, or is pending.
- Email: Includes confirmation or cancellation of the order, as well as shipping.
- Fulfillment: Includes whether the fulfillment succeeded, failed, or is pending. Also includes cancellation, restocking, and fulfillment updates.
- Order: Includess the placement, confirmation, closing, re-opening, and cancellation of the order.
- Refund: Includes whether the refund succeeded, failed, or is pending.
- Sale: Includes whether the sale succeeded, failed, or is pending.
- Void: Includes whether the void succeeded, failed, or is pending.
Verb | Message | Description |
---|---|---|
authorization_failure | The customer, unsuccessfully, tried to authorize: money_amount | Authorization failed. The funds cannot be captured. |
authorization_pending | Authorization for money_amount is pending. | Authorization failed. The funds cannot be captured. |
authorization_success | The customer successfully authorized us to capture: money_amount | Authorization was successful and the funds are available for capture. |
cancelled | Order was cancelled by shop_staff_name . | The order was cancelled. |
capture_failure | We failed to capture: money_amount | The capture failed. The funds cannot be transferred to the shop. |
capture_pending | Capture for money_amount is pending. | The capture is in process. The funds are not yet available to the shop. |
capture_success | We successfully captured: money_amount | The capture was successful and the funds are now available to the shop. |
closed | Order was closed. | The order was closed. |
confirmed | Received a new order: order_number by customer_name . | The order was confirmed. |
fulfillment_cancelled | We cancelled number_of_line_items from being fulfilled by the third party fulfillment service. | Fulfillment for one or more of the line_items failed. |
fulfillment_pending | We submitted number_of_line_items to the third party service. | One or more of the line_items has been assigned to a third party service for fulfillment. |
fulfillment_success | We successfully fulfilled line_items. | Fulfillment was successful for one or more line_items. |
mail_sent | message_type email was sent to the customer. | An email was sent to the customer. |
placed | Order was placed. | An order was placed by the customer. |
re_opened | Order was re-opened. | The order was re-opened. |
refund_failure | We failed to refund money_amount . | The refund failed. The funds are still with the shop. |
refund_pending | Refund of money_amount is still pending. | THe refund is in process. The funds are still with shop. |
refund_success | We successfully refunded money_amount . | The refund was successful. The funds have been transferred to the customer. |
restock_line_items | We restocked number_of_line_items . | One or more of the order's line items have been restocked. |
sale_failure | The customer failed to pay money_amount . | The sale failed. The funds are not available to the shop. |
sale_pending | The money_amount is pending. | The sale is in process. The funds are not yet available to the shop. |
sale_success | We successfully captured money_amount . | The sale was successful. The funds are now with the shop. |
update | order_number was updated. | The order was updated. |
void_failure | We failed to void the authorization. | Voiding the authorization failed. The authorization is still valid. |
void_pending | Authorization void is pending. | Voiding the authorization is in process. The authorization is still valid. |
void_success | We successfully voided the authorization. | Voiding the authorization was successful. The authorization is no longer valid. |
Page events
Verb | Message | Description |
---|---|---|
create | New page created: page_url | The page was created. |
destroy | page_url was destroyed. | The page was deleted. |
published | page_url was published. | The page was published. |
unpublished | page_url was hidden. | The page was hidden. |
update | page_url was updated. | The page was updated. |
Price rule events
Verb | Message | Description |
---|---|---|
create | New price rule created: price_rule | The price rule was created. |
destroy | price_rule was destroyed. | The price rule was deleted. |
update | price_rule was updated. | The price rule was updated. |
Product events
Verb | Message | Description |
---|---|---|
create | New product created: product_title | The product was created. |
destroy | product_name was destroyed. | The product was deleted. |
published | product_title was published. | The product was published. |
unpublished | product_title was hidden. | The product was hidden. |
Endpoints
- get/admin/api/latest/events.
json Retrieves a list of events - get/admin/api/latest/events/{event_
id}. json Retrieves a single event - get/admin/api/latest/events/count.
json Retrieves a count of events
The Event resource
Properties
Refers to a certain event and its resources.
A text field containing information about the event.
The date and time (ISO 8601 format) when the event was created.
The ID of the event.
A human readable description of the event.
A relative URL to the resource the event is for, if applicable.
A human readable description of the event. Can contain some HTML formatting.
The ID of the resource that generated the event.
The type of the resource that generated the event. Valid values:
Show subject_type properties
Article
Blog
Collection
Comment
Order
Page
PriceRule
Product
ApiPermission
The type of event that occurred. Different resources generate different types of event. See the Resources section for a list of possible verbs.
The entity which performed the action that generated the event.
The Event resource
Anchor to GET request, Retrieves a list of eventsgetRetrieves a list of events
Retrieves a list of events. Note: This endpoint implements pagination by using links that are provided in the response header. To learn more, refer to Make paginated requests to the REST Admin API.
Show events created at or before this date and time. (format: 2014-04-25T16:15:47-04:00)
Show events created at or after this date and time. (format: 2014-04-25T16:15:47-04:00)
Show only certain fields, specified by a comma-separated list of field names.
Show events of certain resources, specified by a comma-separated list of resource names.
The number of results to show.
Show only results after the specified ID.
Show events of a certain type.
Anchor to get-events-examplesExamples
Retrieve a list of all events for a shop
Retrieve a list of all events for a shop
Retrieve a list of all events from a specific order
Retrieve a list of all events from a specific order
Retrieve a list of events that occured at the specified time
Retrieve a list of events that occured at the specified time
Show events created at or after this date and time. (format: 2014-04-25T16:15:47-04:00)
Retrieve all events after the specified ID
Retrieve all events after the specified ID
Show only results after the specified ID.
Retrieve all events from a specific product
Retrieve all events from a specific product
Retrieve an event after a specific ID using since_id
Retrieve an event after a specific ID using since_id
The number of results to show.
Show only results after the specified ID.
/admin/api/2025-07/events. json
Response
Anchor to GET request, Retrieves a single eventgetRetrieves a single event
Retrieves a single event by its ID
Show only certain fields, specified by a comma-separated list of field names.
Retrieves a single event by its ID
Retrieves a single event by its ID
/admin/api/2025-07/events/677313116. json
Response
Anchor to GET request, Retrieves a count of eventsgetRetrieves a count of events
Retrieves a count of events
Count only events created at or before this date and time. (format: 2014-04-25T16:15:47-04:00)
Count only events created at or after this date and time. (format: 2014-04-25T16:15:47-04:00)
Count all events
Count all events
Count of the number of events since a particular time
Count of the number of events since a particular time
Count only events created at or after this date and time. (format: 2014-04-25T16:15:47-04:00)