1. Cart
Salla Platform Docs
  • Languages
  • Notify
  • Event
  • Storage
  • Configuration
  • Forms
  • Helpers
  • Overview
  • Auth
    • Login
    • Logout
    • Verify
    • Resend
    • Register
    • Refresh
  • Cart
    • Latest
    • 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
    • Quick Add
    • Add Item
    • Details
  • Wishlist
    • Add
    • Remove
    • Toggle
  • Loyalty
    • Get Program
    • Exchange
    • Reset
  • Comment
    • Add Comment
    • Fetch
    • Get Page Comments
    • Get Product Comments
  • Metadata
    • Metadata Details
  • Profile
    • Update profile
    • Update contact
  • Product
    • Get price
    • Fetch Options
    • Product availability
    • Categories
    • Offer details
    • Search products
    • Get Gift Details
    • Add Gift To Cart
    • Upload Gift Image
    • Get Product Details
    • Fetch
    • Size Guides
  • Booking
    • Add
  • Rating
    • Order
    • Store
    • Products
    • Shipping
  • Currency
    • Change
    • List
  • Order
    • Create cart from order
    • Cancel
    • Send invoice
    • Show order
  • Component
    • Reviews
    • Menus
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Cart

Details

This endpoint displays an Cart's details for the customer, The cart's items will be listed here along with their details.

Response#

Success
Error
cart.details.success

Usage#

The details() method does not receive any parameters. Simply, the developer may call this method and be able to get the customer's order details according to the cart's items.

Advance Usage#

Pass options or attachments or both for more cartItems related data such as options in this example cart.items.options.type.
Use the simpler call unless you explicitly need options or attachments, as extra fields increase response size and processing time.

Events#

This endpoint may trigger two events, the onDetailsFetched and onDetailsNotFetched events.

onDetailsFetched#

This event is triggered when fetching the cart's items list is done without having any errors coming back from the backend.

onDetailsNotFetched#

This event is triggered when fetching the cart's items list is not completed and an error has occurred.
Modified at 2026-07-09 11:27:26
Previous
Add Item
Next
Add