Logo
Logo
⌘K

The Webhook Object

Attributes

filters

object

Filters for the webhook.
Possible values
OrderStatusChange
Filters when topic is OrderStatusChange.
Show object attributes

statuses

array of enums

Order status changes to subscribe to.
Possible enum values
PendingFulfillmentAction
The order requires user action before it can be sent to production.
AwaitingPayment
The order has been received by Artelo but is not yet paid for in the connected integration.
Received
The order is received and is waiting to be sent to production. This period is to allow for cancellations to take place before production begins.
Paid
The order has been paid for but has not yet been sent to production.
WarehouseProcessing
The production facility is currently processing the order.
Shipped
The order has been shipped.
Canceled
The order was canceled.
Show more values
UploadStatusChange
Filters when topic is UploadStatusChange.
Show object attributes

statuses

array of enums

Upload status changes to subscribe to.
Possible enum values
Success
The image was successfully uploaded.
Fail
The image failed to upload.
ProductSetUpdated
Filters when topic is ProductSetUpdated.
Show object attributes

productSetIds

array of strings

Unique identifiers of product sets to subscribe to changes for. If not included, the webhook will subscribe to changes for all product sets.

id

string

Unique identifier of the webhook.

numFailures

number

Number of consecutive failures the webhook has had since its last successful response.

secret

string

Secret used to sign the webhook payload.

topic

enum

Topic the webhook is subscribed to.
Possible enum values
OrderStatusChange
Triggered when the status of an order changes.
UploadStatusChange
Triggered when an upload fails or succeeds to upload.
ProductSetUpdated
Triggerred when a product set is updated.

url

string

URL where POST requests are sent for the webhook.
Webhook Object