Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Webhooks - Store Events
  • Welcome 👋
  • Get Started
  • Create Your First App
  • Authorization
  • Webhooks
  • Conditional Webhooks
  • Security Considerations
  • Multi-Language Support
  • Responses
  • Pagination
  • Rate Limiting
  • Versioning
  • Change Log
  • Support
  • APIs
    • Orders
      • Create Order
      • List Orders
      • Order Details
      • Create Drafted Order
      • Update Order
      • Duplicate Order
      • Order Actions
    • Order Status
      • Update Order Status
      • Create Custom Order Status
      • List Order Statuses
      • Order Status Details
      • Update Custom Order Status
      • Update Bulk Orders Statuses
      • Sort Orders Statuses
    • Order Histories
      • List Order Histories
      • Create Order History
    • Order Tags
      • Create Order Tag
      • List Order Tags
      • Delete Order Tag
    • Order Invoice
      • Create Invoice
      • List Invoices
      • Invoice Details
      • Send Order Invoice
      • Create Order Invoice
    • Order Reservations
      • List Order Reservations
    • Order Items
      • List Order Items
      • Create Order Item
      • Update Order Item
      • Delete Order Item
    • Products
      • Create Product
      • List Products
      • Product Details
      • Update Product
      • Delete Product
      • Change Product Status
      • Product Details By SKU
      • Update Product By SKU
      • Delete Product By SKU
      • Update Product Price By SKU
      • Update Bulk Product Prices
      • Import Products
      • Bulk Product Actions
    • Product Options
      • Create Product Option
      • Product Option Details
      • Update Product Option
      • Delete Product Option
    • Product Quantity
      • List Product Quantities
      • Update Bulk Quantities
      • List Quantity Change Reasons
      • List Quantity Audit
      • Update Bulk Quantities by SKU
      • Update Quantity
      • Update Quantity By SKU
    • Product Variants
      • List Product Variants
      • Product Variant Details
      • Update Product Variant
      • Update Product Variant Quantity
    • Product Tags
      • Create Product Tag
      • List Product Tags
    • Product Images
      • Attach Image by SKU
      • Attach Video by SKU
      • Attach Youtube Video
      • Attach Image
      • Update Image
      • Delete Image
    • Product Option Values
      • Create Product Option Value
      • Product Option Value Details
      • Update Product Option Value
      • Delete Product Option Value
    • Abandoned Carts
      • List Abandoned Carts
      • Abandoned Cart Details
    • Customer Groups
      • Create Customer Group
      • List Customer Groups
      • Add Customers To Group Customer
      • Update Default Customer Group
      • Update Customer Group
      • Delete Customer Group
    • Customers
      • Create Customer
      • List Customers
      • Customer Details
      • Update Customer
      • Delete Customer
      • Ban Customer
      • Un-Ban customer
      • Import Customers
    • Digitals Product
      • Attach Digital Code
      • Attach Digital File
      • Delete Digital File
    • Categories
      • Create Category
      • List Categories
      • Category Details
      • Update Category
      • Delete Category
      • Category Children
      • Categories Search
      • List Category Products
    • Exports
      • Export Orders
      • Exports Logs
      • List Export Templates
      • Create Export Template
      • Update Export Template
      • Delete Export Template
      • List Export Columns
      • Export Customers
      • Export Custom URLs
      • Export Products
    • Shipments
      • Create Shipment
      • List Shipments
      • Shipment Details
      • Shipment Tracking
      • Update Shipment Details
      • Cancel Shipment
      • Return Shipment
    • Shipping Companies
      • List Shipping Companies
      • Shipping Company Details
      • List Estimate Rates
      • Create Shipping Company
      • Update Shipping Company
      • Delete Shipping Company
      • Shipping Company Options
    • Shipping Zones
      • Create Shipping Zone
      • List Shipping Zones
      • Shipping Zone Details
      • Update Shipping Zone
      • Delete Shipping Zone
    • Shipping Rules
      • List Shipping Rules
      • Shipping Rule Details
      • Delete Shipping Rule
    • Countries
      • List Countries
      • Country Details
    • Product Option Templates
      • List Option Templates
      • Option Template Details
      • Delete Option Template
      • Update Option Template
      • Create Option Template
    • Taxes
      • Create Tax
      • List Taxes
      • Tax Details
      • Update Tax
      • Delete Tax
    • Coupons
      • Create Coupon
      • List Coupons
      • Coupon Details
      • Update Coupon
      • Delete Coupon
      • List Coupon Codes
    • Affiliates
      • List Affiliates
      • Affiliate Details
      • Create Affiliate
      • Update Affiliate
      • Delete Affiliate
    • Order Assignment
      • List Auto Assignment Rules
      • Order Assigned Employees Details
      • Update Auto Assignment Rule
      • Create Auto Assignment Rules
    • Special Offers
      • Create Special Offer
      • List Special Offers
      • Special Offer Details
      • Update Special Offer
      • Delete Special Offer
      • Change Special Offer Status
    • Transactions
      • List Transactions
      • Transaction Details
      • Update Transaction
    • Payments
      • Available Payment Methods
      • List Banks
      • Payment Bank Details
    • Settlements
      • List Instant Settlements
      • Create Instant Settlement
      • Update Instant Settlement
      • Instant Settlement Details
    • Settings
      • Settings List
      • Update Setting Slug
      • Setting Details
    • Merchant
      • User Information Details
      • Store Information
    • Brands
      • Create Brand
      • List Brands
      • Brand Details
      • Update Brand
      • Delete Brand
    • Branches
      • Create Branch
      • List Branches
      • Branch Details
      • Update Branch
      • Delete Branch
    • Currencies
      • Activate Currencies
      • List Currencies
      • List Available Currencies
    • SEO
      • List SEO Settings
      • Update SEO Settings
    • Cities
      • List Cities
    • DNS Records
      • List DNS Records
      • Create DNS Record
      • Delete DNS Record
    • Languages
      • Add Language
      • List Languages
      • Update Language
    • Employees
      • List Employees
    • Advertisements
      • Create Advertisement
      • List Advertisements
      • Advertisement Details
      • Update Advertisement
      • Delete Advertisement
    • Webhooks
      • List Active Webhooks
      • List Events
      • Register Webhook
      • Deactivate Webhook
      • Update Webhook
    • Custom URLs
      • Import Custom URLs
    • Loyalty Points
      • Customer Loyalty Points
      • Update Customer Loyalty Points
    • Reviews
      • List Reviews
      • Review Details
      • Update Review
  • Webhooks - Store Events
    • Order
    • Product
    • Customer
    • Shippings
    • Shipments
    • Brand
    • Invoice
    • Category
    • Store
    • Special Offer
    • Cart
    • Miscellaneous
  1. Webhooks - Store Events

Order

Below are the webhook store events paired with their respective data schema related to the Order webhook events:

Orders Webhook Events Model#

The following includes 10 order webhook events that share the same model, which are mentioned in the event enum value under the Data Schema tab
Deprecation Notice
The variables data.checkout_url and data.rating_link will be deprecated by May 25, 2025. Moving forward, they will be accessible under the urls object as data.urls.checkout and data.urls.rating.
The variables, items.codes and items.files, are deprecated. We recommend using instead the data.urls.digital_content variable.
Data Schema
Example
Orders Webhook Events Model
event
enum<string> 
optional
Event Name
Allowed values:
order.createdorder.updatedorder.refundedorder.deletedorder.products.updatedorder.payment.updatedorder.coupon.updatedorder.total.price.updatedorder.shipping.address.updatedorder.cancelledorder.customer.updated
merchant
number 
optional
Merchant ID who installed the application on their store. Get details on the Merchant via the ID using the endpoint here
created_at
string 
optional
Timestamp of webhook creation
data
object 
optional
id
number 
required
A unique alphanumeric code or identifier assigned to a specific order. List of orders can be found here
cart_reference_id
number 
required
A unique alphanumeric code or identifier assigned to a specific order cart.
reference_id
number 
required
A specific alphanumeric identifier associated with an order.
urls
object (Urls) 
required
To help companies and merchants, Salla provides a “urls” attribute that has been added to different modules to guide the merchants to have the full URL of this module from both scopes, the dashboard scope as a store admin, and as a customer.
date
object (Date) 
required
Date and Time of the order.
updated_at
object (Date) 
required
source
enum<string> 
required
The source of the order.
Allowed values:
storelandingforgotten_basketabandoned-cartcampaigndashboardbuy_as_giftmahly-appbuy_nowone-clickcomplete_order
draft
boolean 
required
Whether or not the order 's status is set to draft
read
boolean 
required
Whether or not the Merchant has read the order
source_device
string 
required
The machine or device used when the customer placed the order.
source_details
object 
required
Order source details.
status
object (NewOrderStatus) 
required
Order status.
is_price_quote
boolean 
required
The option to quote order price.
payment_method
string 
required
The specific payment option or financial mechanism chosen and used by a customer to pay for a product or service as part of an order, encompassing various methods.
receipt_image
string 
required
Order's image receipt
currency
string 
required
The currency in which order costs and prices are expressed and processed, based on the customer's preferences or the business's operational currency.
amounts
object 
required
Order amounts.
exchange_rate
object 
required
The order exchange rate.
can_cancel
boolean 
required
The option to enable order cancellation by the store customer.
True value should be set if the order status is in under review and in progress, as according to the store settings.
show_weight
boolean 
required
Whether or not to show the weight value.
can_reorder
boolean 
required
Whether or not to enable reorder .
is_pending_payment
boolean 
required
The option of displaying order is pending payment to the customer when the order status is payment_pending.
rating_link
string 
deprecated
The rating URL to review the order.
🛑 The variable is to be deprecated; use data.urls.rating variable instead.
checkout_url
string 
deprecated
The checkout URL to settle payments related to the order.
🛑 The variable is to be deprecated; use data.urls.checkout variable instead.
pending_payment_ends_at
integer 
required
Last date allowed to customer to pay the order.
total_weight
string 
required
Total weight value
shipping
object 
required
Order Shipping details.
shipments
array [object {22}] 
required
Order shipment details.
pickup_branch
object (Branch) 
required
Order pickup branch details.
shipment_branch
object (ShipmentBranch) 
required
Order shipment branch details.
customer
object (Customer) 
required
Customer details.
items
array [object {16}] 
required
bank
object 
required
tags
object (OrderTag) 
required
Order Tag details.
store
object 
required
Order store details.

Order Shipments Webhook Events Model#

The following includes 4 order shipment webhook events that share the same model, which are mentioned in the event enum value under the Data Schema tab
Deprecation Notice
The variables data.checkout_url and data.rating_link will be deprecated by May 25, 2025. Moving forward, they will be accessible under the urls object as data.urls.checkout and data.urls.rating.
The variables, items.codes and items.files, are deprecated. We recommend using instead the data.urls.digital_content variable.
Data Schema
Example
Order Shipments Webhook Events Model
event
enum<string> 
optional
Event Name
Allowed values:
order.shipment.creatingorder.shipment.createdorder.shipment.return.creatingorder.shipment.return.created
merchant
number 
optional
Merchant ID who installed the application on their store. Get details on the Merchant via the ID using the endpoint here
created_at
string 
optional
Timestamp of webhook creation
data
object 
optional
id
number 
optional
Order ID
reference_id
number 
optional
Order refrence ID, that appears to customers in the store.
urls
object (Urls) 
optional
To help companies and merchants, Salla provides a “urls” attribute that has been added to different modules to guide the merchants to have the full URL of this module from both scopes, the dashboard scope as a store admin, and as a customer.
date
object (Date) 
optional
source
string 
optional
The source of the order.
source_device
string 
optional
The machine or device used when the customer placed the order.
source_details
object 
optional
first_complete_at
string  | null 
optional
Gets the first date of changing the order status to completed.
status
object 
optional
payment_method
string 
optional
Order payment method
currency
string 
optional
Order currency
amounts
object 
optional
shipping
object 
optional
shipments
array [object {24}] 
optional
can_cancel
boolean 
optional
Whether or not if the order is allowed to be cancelled by store customers.
True value should be set if the order status is in under review and in progress, as according to the store settings.
show_weight
boolean 
optional
Whether or not to show weight value
can_reorder
boolean 
optional
Whether or not the order allowed to be re-order by customers
is_pending_payment
boolean 
optional
Waiting the customer to pay the order or the order status is payment_pending
pending_payment_ends_at
integer 
optional
Last date allowed to customer to pay the order
total_weight
string 
optional
Total weight value
rating_link
string 
deprecated
The rating URL to review the order.
🛑 The variable is to be deprecated; use data.urls.rating variable instead.
checkout_url
string 
deprecated
The checkout URL to settle payments related to the order
🛑 The variable is to be deprecated; use data.urls.checkout variable instead.
shipment_branch
object (ShipmentBranch) 
optional
Shipment branch details in case of order is being shipped from a branch
customer
object (Customer) 
optional
Detailed structure of the customer model object showing its fields and data types.
items
array [object {7}] 
optional

Order Shipment Cancelled Webhook Event Model#

The following includes 2 order shipment cancelled webhook events that share the same model, which are mentioned in the event enum value under the Data Schema tab
Data Schema
Example
Order Shipment Cancelled Webhook Events Model
event
enum<string> 
optional
Event Name
Allowed values:
order.shipment.cancelledorder.shipment.return.cancelled
merchant
number 
optional
Merchant ID who installed the application on their store. Get details on the Merchant via the ID using the endpoint here
created_at
string 
optional
Timestamp of webhook creation
data
object 
optional
id
number 
optional
Order ID
reference_id
number 
optional
Order refrence ID, that appears to customers in the store.
shipping_number
string 
optional
Shipping Number

Order Status Updated Webhook Event Model#

Data Schema
Example
Orders Status Updated Webhook Events Model
event
enum<string> 
optional
Event Name
Allowed value:
order.status.updated
merchant
number 
optional
Merchant ID who installed the application on their store. Get details on the Merchant via the ID using the endpoint here
created_at
string 
optional
Created At Date Timestamp
data
object 
optional
id
number 
optional
Status ID
status
string 
optional
Order Status
customized
object  | null 
optional
note
string 
optional
Order Note
created_at
object 
optional
order
object (OrderStatusUpdated) 
optional
Detailed structure of the Order model object showing its fields and data types.
Modified at 2025-05-08 13:09:45
Previous
Update Review
Next
Product