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. Cart
  • Overview
  • Languages
  • Notify
  • Event
  • Storage
  • Configuration
  • Forms
  • Helpers
  • Auth
    • Login
    • Logout
    • Verify
    • Resend
    • Register
    • Refresh
  • Cart
    • Latest
    • Details
    • Quick Add
    • Add Item
    • Delete Item
    • Delete Image
    • Add Coupon
    • Remove Coupon
    • Get Upload Image
    • Get Quick Order Settings
    • Create Quick Order
    • Order Status
    • Get Current Cart Id
    • Price Quote
  • Wishlist
    • Add
    • Remove
    • Toggle
  • Loyalty
    • Get Program
    • Exchange
    • Reset
  • Comment
    • Add Comment
    • Fetch
    • Get Page Comments
    • Get Product Comments
  • Profile
    • Update profile
    • Update contact
  • Product
    • Get price
    • Product availability
    • Categories
    • Offer details
    • Search products
    • Get Gift Details
    • Add Gift To Cart
    • Upload Gift Image
    • Get Product Details
    • Fetch
    • Fetch Options
    • Size Guides
  • Order
    • Create cart from order
    • Cancel
    • Send invoice
    • Show order
  • Booking
    • Add
  • Rating
    • Order
    • Store
    • Products
    • Shipping
  • Currency
    • Change
    • List
  • Component
    • Reviews
    • Menus
  1. Cart

Create Quick Order

This endpoint enables the user to select particular items, complete the purchase of that item, and then proceed directly to the checkout page to complete the purchase without having to complete any intermediary stages.

Payload#

cart.createQuickOrder.payload
email
string 
required
Customer email
phone
string 
required
Customer phone
country_code
string 
required
Customer phone country code
name
string 
required
Customer name
product_ids
array[string]
required
List of the products ids
agreement
boolean 
required
Is the agreement is checked for acceptance?

Response#

Success
Error
cart.createQuickOrder.success
status
enum<string> 
required
Response number
Allowed values:
200201202
success
string 
required
Response flag

Usage#

To perform the action completing the purchase of items and proceeding directly to the checkout, the developer may call the createQuickOrder() as shown below.

Events#

This endpoint may trigger two events, the onQuickOrderSucceeded and onQuickOrderFailed events.

onQuickOrderSucceeded#

This event is triggered when the action completing the purchase of items and proceeding directly to the checkout is done without having any errors coming back from the backend.

onQuickOrderFailed#

This event is triggered when the action completing the purchase of items and proceeding directly to the checkout is not completed and an error has occurred.
Modified at 2024-02-18 09:06:39
Previous
Get Quick Order Settings
Next
Order Status