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. Must be a public destination: localhost, single-label and local-network names (.local, .home.arpa, .internal), Hostinger service domains and loopback, private, link-local or reserved IP addresses are rejected. Merchant-owned domains hosted by Hostinger are allowed.
events
List[str]
Event types to subscribe to. - `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.
sales_channel_ids
List[str]
Omit for store-wide delivery. IDs must belong to this store; empty arrays are invalid.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_webhook_store_requestimportEcommerceV1WebhookStoreRequest# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1WebhookStoreRequest from a JSON stringecommerce_v1_webhook_store_request_instance=EcommerceV1WebhookStoreRequest.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1WebhookStoreRequest.to_json())
# convert the object into a dictecommerce_v1_webhook_store_request_dict=ecommerce_v1_webhook_store_request_instance.to_dict()
# create an instance of EcommerceV1WebhookStoreRequest from a dictecommerce_v1_webhook_store_request_from_dict=EcommerceV1WebhookStoreRequest.from_dict(ecommerce_v1_webhook_store_request_dict)