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

Order Status

This endpoint returns the current status of a cart, including whether it is active or not, and the next step to take. The next step can be either to refresh the cart, prompt the user to login, or proceed to checkout, and may include an optional URL. This endpoint is used for monitoring and managing the status of a cart during the checkout process.

Payload#

cart.orderStatus.payload
cartId
integer 
required
is the unique identifier for a specific cart.

Response#

Success
Error
cart.orderStatus.success
success
boolean 
optional
Response flag
status
enum<number> 
optional
Allowed values:
200201202
data
object 
optional
active
boolean 
required
A boolean flag indicating whether the cart is currently active.
next_step
object 
required
An object containing information about the next step to be taken.

Usage#

To perform the action of returning the current status of a cart, the developer may call the status() as shown below.
Modified at 2024-02-18 06:15:55
Previous
Create Quick Order
Next
Get Current Cart Id