You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTPS receiver on port 443, without credentials or a fragment. Omit to preserve. A changed URL must be a public destination under the same rules as creation; resending the saved URL unchanged is accepted.
[optional]
events
List[str]
Replacement event types. Omit to preserve. - `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.
[optional]
sales_channel_ids
List[str]
Omit to preserve; null restores store-wide delivery. Empty or foreign-store IDs are invalid.
[optional]
enabled
bool
Merchant-disabled endpoints can be enabled again; lifecycle-revoked endpoints cannot.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_webhook_update_requestimportEcommerceV1WebhookUpdateRequest# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1WebhookUpdateRequest from a JSON stringecommerce_v1_webhook_update_request_instance=EcommerceV1WebhookUpdateRequest.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1WebhookUpdateRequest.to_json())
# convert the object into a dictecommerce_v1_webhook_update_request_dict=ecommerce_v1_webhook_update_request_instance.to_dict()
# create an instance of EcommerceV1WebhookUpdateRequest from a dictecommerce_v1_webhook_update_request_from_dict=EcommerceV1WebhookUpdateRequest.from_dict(ecommerce_v1_webhook_update_request_dict)