Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 2.97 KB

EcommerceV1WebhookWebhookEndpointResource.md

File metadata and controls

21 lines (18 loc) · 2.97 KB

# EcommerceV1WebhookWebhookEndpointResource

Properties

Name Type Description Notes
id string Webhook endpoint ID.
storeId string Owning store ID.
url string HTTPS receiver URL.
events string[] Subscribed event types. - `order.placed`: a customer places an order, before any online payment is completed. Orders paid online may not have an order number yet. - `order.paid`: an order becomes fully paid: an online payment is captured, a free order is placed or the merchant marks it as paid. Partial payments don't send it. - `order.cancelled`: an unpaid order is canceled, for example by the merchant, a connected sales channel or after a delayed payment fails. Paid orders can't be canceled, so a cancellation never involves a refund. - `order.refunded`: each time a full or partial refund is recorded, through the payment provider or manually. - `order.fulfilled`: a fulfillment leaves every item in the order fulfilled. Partial fulfillments send `fulfillment.created` instead. - `fulfillment.created`: each time items in an order are fulfilled, including partial fulfillments and digital items fulfilled automatically after payment. - `fulfillment.updated`: a fulfillment's tracking details change, or a connected shipping service or sales channel reports progress such as delivery. - `fulfillment.cancelled`: a fulfillment is canceled before it ships, for example when it is canceled or its shipping label is voided. - `product.created`: a product is added to the store, including drafts and products created in bulk. - `product.updated`: a product changes, including its details, variants, prices, stock, visibility or collections. Stock changes from orders also send it, so expect frequent events. - `product.deleted`: a product is deleted, individually or in bulk.
salesChannelIds string[] Channel filter; null means store-wide.
enabled bool Whether delivery is enabled.
disabledReason string Reason delivery was disabled. receiver_gone and receiver_failing are automatic health disables that can be resumed with enabled: true; store_* reasons are permanent revocations.
disabledAt \DateTime
failingSince \DateTime Start of the current failure streak; null after a successful delivery attempt, a URL change or re-enabling.
lastAttemptedAt \DateTime When the latest delivery attempt started, whether or not it reached the receiver; null before any attempt.
lastSucceededAt \DateTime When the latest successful delivery completed; null before any success.
createdAt \DateTime
updatedAt \DateTime

[Back to Model list] [Back to API list] [Back to README]