API reference
Webhook events
Every event is a POST with { id, event, mode, createdAt, data }, signed in X-MarkitMall-Signature. How to receive them is in the Webhooks guide.
order.received#
The order reached MarkitMall (and, for a prepaid order, was paid).
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
order.confirmed#
The customer confirmed by call/WhatsApp, or no confirmation was needed.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
order.cancelled#
Cancelled by you, the customer or us; cancellationReason says why.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
order.shipped#
Handed to the courier; tracking holds the courier and number.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
order.delivered#
Delivered; includes margin and marginReleaseAt.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
order.returned#
type: rto (refused at the door) or type: return (after delivery), with charge / credit.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
product.updated#
Price, title, images or variants changed — update your listing.
data
productIdstring | — |
importIdstring | — |
externalProductIdstring | null | — |
productProduct | null | — |
changesstring[] | — |
product.stock_changed#
Stock changed, including to zero — hide or show the listing.
data
productIdstring | — |
importIdstring | — |
externalProductIdstring | null | — |
productProduct | null | — |
changesstring[] | — |
product.removed#
No longer available for dropshipping — unpublish it.
data
productIdstring | — |
importIdstring | — |
externalProductIdstring | null | — |
productProduct | null | — |
changesstring[] | — |
wallet.margin_released#
A margin moved to Available; amount is what was credited.
data
idstring | — |
externalOrderIdstring | — |
externalOrderNamestring | null | — |
parcelobject | — |
parcel.partinteger | — |
parcel.ofinteger | — |
orderNumberstring | null | — |
status | — |
paymentModeenum | —
|
codAmountinteger | — |
wholesaleTotalinteger | — |
shippingCostinteger | — |
margininteger | — |
marginStatusenum | —
|
marginReleaseAtstring | null · date-time | — |
rtoChargeinteger | — |
returnCreditinteger | — |
itemsobject[] | — |
trackingobject | null | — |
tracking.numberstring | — |
tracking.courierstring | — |
tracking.urlstring | null | — |
cancellationReasonstring | null | — |
