---
title: "Prepare Cart"
method: POST
path: "/carts/{cart_id}/prepare"
tags: ["Carts"]
---

# Prepare Cart

`POST /carts/{cart_id}/prepare`

## Request

- Base URL: `https://dummyHandle.shoplineapp.com/storefront-api/v1`
- URL: `https://dummyHandle.shoplineapp.com/storefront-api/v1/carts/{cart_id}/prepare`
- Auth: one of:
  - API key in header `X-Storefront-Token`
  - API key in header `X-Storefront-Token` and API key in header `X-Customer-Token`

Prepare Cart

## Path parameters

- `cart_id` string, required

## Headers

- `locale` string

## Response `200`

OK

- object
  - `data` object
    - `applied_member_point` integer: Used member points
    - `applied_user_credits` object, nullable: User credits applied to the cart as a cash discount
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
    - `untriggered_promotion_items` object[], nullable: List of promotion items in the cart that were not triggered
      - `discount_amount` object: Promotion discount amount
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
        - `cents` number
      - `discounted_price` object: Promotion discount price
        - `label` string
        - `dollars` number
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
      - `membership_tier_id` string: membership tier id
      - `condition_scope` string: Promotion condition scope
      - `id` string: Promotion items identifier
      - `whitelisted_membership_tier_ids` string[]: Promotion for specific membership tiers
      - `has_stackable_reminder` boolean: Whether the promotion has stackable reminder
      - `summary_translations` object: Promotion summary translations
        - `label` object: Untriggered promotion label
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
        - `discount_summary` object: Untriggered promotion discount summary
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
        - `untriggered_reminder` object: Untriggered promotion discount reminder
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
      - `condition_gaps` object[]: Promotion condition gaps
        - `type` string
        - `selected_value` integer
        - `gap_type` string
        - `value` object
        - `condition_id` string
        - `cart_item_ids` string[]
        - `discountable_ids` string[]
      - `discount_on` string: Scope of the promotion discount — can be `order`, `item`, `category` or ``
      - `cart_tag_id` string: Cart tag id
      - `is_membership_tier_promotion` boolean: Whether the promotion is a membership tiered
      - `cart_tag_translations` object: Cart tag translations
        - `ja` string, nullable
        - `ms` string, nullable
        - `th` string, nullable
        - `vi` string, nullable
        - `zh-cn` string, nullable
        - `zh-hant` string, nullable
        - `en` string, nullable
      - `is_extended_promotion` boolean: Whether the promotion is a tiered promotion
      - `is_partial_free_shipping` boolean: Whether the promotion offers partially free shipping
      - `seo_enabled` boolean: Whether the promotion supports seo
      - `discount_type` string: Promotion discount type
      - `discount_percentage` integer: Promotion discount percentage
      - `required_membership` boolean: whether the promotion required membership tiers
    - `custom_discount_items` object[]: Custom discount items
      - `type` string: Custom discount items type
      - `ref_id` string: Custom discount items - referral identifier
      - `cart_tag_id` string: Custom discount items - cart tag identifier
      - `custom_price` object: Custom discount items - custom price
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
      - `item_data` object: Data of custom discount items
        - `name` string: Custom discount item name
      - `id` string: Custom discount items identifier
    - `items` object[], nullable: List of product items on the cart
      - `id` string: Item identifier
      - `addon_items` object[]: Contains add-on items for the cart item
        - `product_id` string: Add-on items product identifier
        - `item_data` object: Data of add-on cart items
          - `ref_id` string: Add-on cart item referral identifier
          - `discount_type` string: Add-on cart item discount type
          - `selected_child_products` object[], nullable: Add-on cart item selected_child_products
            - `child_product_id` string: Add-on cart item child products identifier
            - `child_variation_id` string, nullable: Add-on cart item child variation identifier
            - `quantity` integer: Add-on cart item child quantity
          - `order_id` string: Add-on cart item order id
          - `name` string: Add-on cart item name
        - `ref_id` string: Add-on cart item referral id
        - `total` object, nullable: Add-on cart item total
          - `dollars` number
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
        - `total_point` integer: Add-on cart item total point
        - `errors` object[]: List of cart add-on item errors
          - `code` string: Add-on item error codes
          - `payload` object
            - `limit` integer, nullable: The limit quantity of the cart item
            - `quantity` integer, nullable: The quantity that the cart can add
        - `triggering_item_id` string: Add-on's parent item identifier
        - `custom_price` object, nullable: Add-on items custom discounted price
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `tax_price` object, nullable: Add-on items tax price
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `type` string: Add-on cart item type
        - `product` object, nullable: Product of add-on cart item
          - `title_translations` object, nullable: Product title translations
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
          - `max_order_quantity` integer, nullable: Maximum orderable quantity of the product
          - `preorder_limit` integer, nullable: Maximum preorder quantity of the product
          - `has_variation` boolean: Whether the product has variation
          - `lowest_member_price` object, nullable: Product lowest price for member
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
            - `dollars` number
            - `cents` number
          - `cover_media` object, nullable: Product cover media
            - `id` string: Product cover media identifier
            - `images` object, nullable: Product cover media images
              - …
            - `alt_translations` object, nullable: Product cover media alt translation
              - …
          - `is_preorder` boolean, nullable: Whether add-on item is preorder
          - `subscription_enabled` boolean, nullable: Whether the product is subscription enabled
          - `quantity` integer, nullable: Product quantity
          - `id` string, nullable: Product identifier
          - `same_price` boolean, nullable: Whether add-on item is the same price with regular price
          - `sku` string, nullable: Product sku number
          - `out_of_stock_orderable` boolean, nullable: Whether product is out of stock
          - `total_orderable_quantity` integer, nullable: Maximum total orderable quantity of the product
          - `is_excluded_promotion` boolean, nullable: Whether the product is promotion excluded
          - `cart_tag_id` string: Product cart tag identifier
          - `field_titles` object[], nullable: Product field titles
            - `key` string: Product field titles key
            - `label` string: Product field titles label
            - `name_translations` object: Product field titles name translation
              - …
            - `index` integer: Product field titles index
          - `preorder_note_translations` object, nullable: Product preorder note translations
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
          - `flash_price_sets` object[], nullable: List of product flash price sets
            - `price_set` object, nullable: Flash price sets
              - …
          - `unlimited_quantity` boolean, nullable: Whether the product has unlimited quantity
          - `child_products` object[], nullable: Product child products
            - `unlimited_quantity` boolean: Whether the product has unlimited quantity
            - `preorder_limit` integer: Maximum preorder quantity of the product
            - `title_translations` object: Product title translation
              - …
            - `id` string: Product child products identifier
            - `out_of_stock_orderable` boolean: Whether product is out of stock
            - `quantity` integer: Product quantity
            - `is_preorder` boolean: Whether add-on item is preorder
            - `type` string: Product type
            - `child_variations` object[], nullable: Product's child_variations
              - …
        - `variation` object, nullable: Add-on cart item variation identifier
          - `price_sale` object: Cart add-on item variation on-sale price
            - `dollars` number
            - `cents` number
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
          - `fields` object[], nullable: Add-on cart item variation fields
            - `name_translations` object: Add-on cart item variation fields names translation
              - …
          - `key` string: Add-on cart item variation key
          - `preorder_limit` integer: Maximum preorder quantity of the product
          - `unlimited_quantity` boolean: Whether the product has unlimited quantity
          - `media` object[], nullable: Cart add-on item variation media
            - `id` string: Media identifier
            - `images` object, nullable: Media images
              - …
            - `alt_translations` object, nullable: Media alt translation
              - …
          - `price` object: Cart add-on item variation price
            - `cents` number
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
            - `dollars` number
          - `id` string: Add-on cart item variation identifier
          - `out_of_stock_orderable` boolean: Whether product is out of stock
          - `quantity` integer: Add-on cart item variation quantity
          - `max_order_quantity` integer: Maximum orderable quantity of the product
          - `member_price` object: Cart add-on item variation member price
            - `currency_iso` string
            - `label` string
            - `dollars` number
            - `cents` number
            - `currency_symbol` string
        - `variation_id` string: Cart add-on item variation identifier
        - `reminders` object[]: List of cart add-on item reminders
          - `code` string: Add-on item reminders codes
          - `payload` object, nullable: Add-on item reminders payload
            - `preorder_quantity` integer, nullable: Quantity of the preorder cart item
            - `stock_quantity` integer, nullable: Quantity of the current in-stock cart item
            - `message` string, nullable: Add-on item reminders payload message
            - `quantity` integer, nullable: Quantity of the cart item in stock
        - `id` string: Add-on items identifier
        - `point` integer: Add-on cart item point
        - `cart_tag_id` string: Add-on cart tag Id
        - `quantity` integer: Add-on items quantity
        - `price` object, nullable: Add-on items regular price
          - `currency_iso` string
          - `label` string
          - `dollars` number
          - `cents` number
          - `currency_symbol` string
      - `cart_tag_id` string: Cart tag identifier
      - `custom_price` object, nullable: Cart items custom discounted price
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
      - `product_id` string: Product identifier
      - `triggering_item_id` string: Cart item triggering item identifier
      - `variation` object, nullable: Variation information of the cart item
        - `max_order_quantity` integer: Maximum total orderable quantity of the cart item
        - `unlimited_quantity` boolean: Whether the cart item has unlimited quantity
        - `price` object: Cart item variation regular price
          - `label` string
          - `dollars` number
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
        - `member_price` object: Cart item variation member price
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
          - `cents` number
        - `fields` object[], nullable: Cart item variation fields
          - `name_translations` object: Cart item variation fields names translation
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
        - `preorder_limit` integer: Maximum preorder quantity of the cart item
        - `media` object, nullable: Cart item variation media
          - `id` string: Cart item variation media identifier
          - `images` object, nullable: Cart item variation media images
            - `original` object: Cart item variation media original images
              - …
          - `alt_translations` object, nullable: Cart item media alt translation
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
        - `price_sale` object: Cart item variation on-sale price
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `key` string: Cart item variation key
        - `id` string: Cart item variation identifier
        - `out_of_stock_orderable` boolean: Whether the cart item is out of stock
        - `quantity` integer: Cart item variation quantity
      - `type` string: Item type
      - `applied_promotion` object, nullable: Cart item applied promotion
        - `condition` object, nullable: Promotion condition
          - `whitelisted_product_ids` string[]: List of product IDs that are eligible for this promotion
          - `min_price` object: Minimum purchase amount required to activate the promotion
            - `cents` number
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
            - `dollars` number
          - `min_item_count` integer: Minimum item quantity needed to activate the promotion
        - `has_stackable_reminder` boolean: Whether the promotion has stackable reminder
        - `id` string: Promotion identifier
        - `is_extended_promotion` boolean: Whether the promotion is a tiered promotion
        - `discount_amount` object, nullable: Promotion discount amount
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `whitelisted_membership_tier_ids` string[]: Promotion for specific membership tiers
        - `title_translations` object: Promotion title translation
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
        - `discount_type` string: Promotion discount type
        - `discount_on` string: Scope of the promotion discount — can be `order`, `item`, `category` or ``
        - `required_membership` boolean: whether the promotion required membership tiers
        - `cart_tag_id` string, nullable: Cart tag id
        - `coupon_item` object, nullable: List of promotion coupon items
          - `coupon_code` string, nullable: Promotion used coupon codes
          - `discounted_amount` object, nullable: Promotion discount amount
            - `cents` number
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
            - `dollars` number
        - `summary_translations` object: Promotion summary translations
          - `discount_summary` object: Promotion discount summary translations
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
          - `label` object: Promotion discount label translations
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
          - `untriggered_reminder` object: Promotion discount reminder
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
        - `discountable_quantity` integer: Promotion discountable quantity
        - `discount_percentage` integer, nullable: Promotion discount percentage
        - `discounted_price` object, nullable: Promotion discount price
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
          - `cents` number
        - `membership_tier_id` string, nullable: membership tier id
        - `is_membership_tier_promotion` boolean: Whether the promotion is a membership tiered
        - `is_partial_free_shipping` boolean: Whether the promotion offers partially free shipping
      - `item_data` object: Cart items data
        - `order_id` string: Cart items data's order identifier
        - `name` string: Cart items data name
        - `ref_id` string: Cart items referral identifier
        - `discount_type` string: Cart items data discount type
        - `selected_child_products` object[], nullable: Cart items data's selected child products
          - `child_product_id` string: Cart items data's selected child products identifier
          - `child_variation_id` string, nullable: Cart items data's selected child products variation identifier
          - `quantity` integer: Cart items data's selected child products quantity
      - `price` object, nullable: Cart items regular price
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
      - `total` object, nullable: Cart items total
        - `dollars` number
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
      - `product` object, nullable: Product of cart items
        - `title_translations` object, nullable: Product title translations
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
          - `en` string, nullable
        - `is_preorder` boolean, nullable: Whether cart item is preorder
        - `sku` string, nullable: Product sku number
        - `has_variation` boolean, nullable: Whether the product has variation
        - `child_products` object[], nullable: Product child products
          - `title_translations` object: Product title translation
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
          - `child_variations` object[], nullable: Product's child_variations
            - `id` string: Product's child_variations identifier
            - `key` string: Product's child_variations key
            - `quantity` integer: Product's child_variations quantity
            - `preorder_limit` integer: Maximum preorder quantity of the product
            - `fields` object[], nullable: Product's child_variations fields
              - …
          - `out_of_stock_orderable` boolean: Whether product is out of stock
          - `quantity` integer: Product quantity
          - `preorder_limit` integer: Maximum preorder quantity of the product
          - `type` string: Product type
          - `id` string: Product child products identifier
          - `unlimited_quantity` boolean: Whether the product has unlimited quantity
          - `is_preorder` boolean: Whether the product is preorder
        - `price` object, nullable: Product's regular price
          - `currency_iso` string
          - `label` string
          - `dollars` number
          - `cents` number
          - `currency_symbol` string
        - `total_orderable_quantity` integer, nullable: Maximum total orderable quantity of the product
        - `field_titles` object[], nullable: Product field titles
          - `key` string: Product field titles key
          - `label` string: Product field titles label
          - `name_translations` object
            - `en` string, nullable
            - `ja` string, nullable
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
          - `index` integer: Product field titles index
        - `id` string, nullable: Product identifier
        - `same_price` boolean, nullable: Whether cart item is the same price with regular price
        - `preorder_note_translations` object, nullable: Product preorder note translations
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
        - `max_order_quantity` integer, nullable: Maximum orderable quantity of the product
        - `is_excluded_promotion` boolean, nullable: Whether the product is promotion excluded
        - `subscription_enabled` boolean, nullable: Whether the product is subscription enabled
        - `member_price` object, nullable: Product's member price
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `price_sale` object, nullable: Product's on-sale price
          - `currency_iso` string
          - `label` string
          - `dollars` number
          - `cents` number
          - `currency_symbol` string
        - `out_of_stock_orderable` boolean, nullable: Whether product is out of stock
        - `flash_price_sets` object[], nullable: List of product flash price sets
          - `start_at` string: The start time of the flash price set
          - `end_at` string: The end time of the flash price set
          - `price_set` object, nullable: Flash price sets
            - `price` object, nullable: Flash price sets regular price
              - …
            - `price_sale` object, nullable: Flash price sets on-sale price
              - …
            - `price_details` object[]: Flash price sets price detail
              - …
        - `unlimited_quantity` boolean, nullable: Whether the product has unlimited quantity
        - `preorder_limit` integer, nullable: Maximum preorder quantity of the product
        - `lowest_member_price` object, nullable: Product lowest price for member
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `quantity` integer, nullable: Product quantity
        - `cover_media` object, nullable: Product cover media
          - `id` string: Product cover media identifier
          - `images` object, nullable: Product cover media images
            - `original` object: Product cover media original images data
              - …
          - `alt_translations` object, nullable: Product cover media alt translation
            - `ms` string, nullable
            - `th` string, nullable
            - `vi` string, nullable
            - `zh-cn` string, nullable
            - `zh-hant` string, nullable
            - `en` string, nullable
            - `ja` string, nullable
      - `variation_id` string: Cart item variation identifier
      - `errors` object[]: List of cart item errors
        - `payload` object: Cart item error payload
          - `limit` integer: The limit quantity of the cart item
          - `quantity` integer: The quantity that the cart can add
        - `code` string: Cart item error code
      - `point` integer: Cart items point
      - `quantity` integer: Cart item quantity
      - `tax_price` object, nullable: Cart item tax price
        - `dollars` number
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
      - `total_point` integer: Cart item total point
      - `reminders` object[]: List of cart item reminders
        - `code` string: Cart item reminder code
        - `payload` object: Cart item reminder payload
          - `message` string, nullable: Cart item reminder message
          - `quantity` integer, nullable: The quantity of left stock of the cart item
          - `preorder_quantity` integer, nullable: The quantity of preoder cart item
          - `stock_quantity` integer, nullable: The quantity of current in-stock cart item
    - `available_payments` object[]: Cart available payment method
      - `name_translations` object, nullable: Payment method name translation
        - `th` string, nullable
        - `vi` string, nullable
        - `zh-cn` string, nullable
        - `zh-hant` string, nullable
        - `en` string, nullable
        - `ja` string, nullable
        - `ms` string, nullable
      - `type` string: Payment type
      - `config_data` object: Payment config data
        - `shopline_payment_payment` string: Payment config data - shopline_payment_payment
        - `shopline_payment_gateway` string: Payment config data - shopline_payment_gateway
        - `credit_installment` string: Payment config data - credit_installment
        - `installments` string[]: Payment config data - available installment periods (in months)
        - `whitelist_validation` object, nullable: Payment config data - whitelist validation rules
          - `type` string: Validation method type, such as card scheme or prefix
          - `card_scheme_list` string[]: List of allowed card schemes
          - `card_prefix_list` string[]: List of allowed card number prefixes
      - `show_description_on_checkout` boolean: Whether the payment description shows on checkout page
      - `instructions_translations` object, nullable: Payment instructions translations
        - `zh-cn` string, nullable
        - `zh-hant` string, nullable
        - `en` string, nullable
        - `ja` string, nullable
        - `ms` string, nullable
        - `th` string, nullable
        - `vi` string, nullable
      - `dropdown_content` string, nullable: Payment dropdown content
      - `instruction_media` object[], nullable: Payment instruction media
        - `id` string: Payment instruction media identifier
        - `blurhash` string, nullable: Payment instruction media blurhash
        - `images` object, nullable: Payment instruction media images
          - `original` object: Payment instruction media original images
            - `width` integer: Payment instruction media images width
            - `height` integer: Payment instruction media images height
            - `url` string: Payment instruction media images url
        - `alt_translations` object, nullable: Payment instruction media alt translation
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
      - `id` string: Payment method identifier
      - `instruction_media_ids` string[]: Payment instruction media identifier
      - `fee_multiplier` number: Percentage multiplier for calculating the payment fee (e.g., 0.1 means 10%). Only effective when `fee_percent` is used
      - `fee_amount` object, nullable: Fixed additional fee applied when using this payment method
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
      - `fee_percent` number: Percentage-based additional fee applied to the order amount
      - `activity_content` string, nullable: Payment activity content
    - `owner_type` string: Cart owner type
    - `custom_discount` object, nullable: Cart custom discount
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
    - `applied_tax_info` object: Cart applied tax info
      - `sales` object: Cart applied sales tax
        - `min` number
        - `max` number
        - `country_code` string
        - `flag` string
        - `region` string
        - `city` string
        - `name` string
      - `delivery` object: Cart applied delivery tax
        - `name` string
        - `min` number
        - `max` number
        - `country_code` string
        - `flag` string
        - `region` string
        - `city` string
    - `inclusive_tax_info` object, nullable: Cart inclusive tax info
      - `fee` object
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
        - `label` string
        - `dollars` number
      - `type` string
      - `tax_region_id` string
      - `rate` number
      - `country_code` string
      - `tax_name` string
    - `deliveries` object[]: List of delivery options associated with the cart
      - `country` string: Cart country
      - `payment_id` string: Payment method identifier
      - `region_code` string: Delivery region code
      - `errors` object[]: List of delivery options errors with the cart
        - `code` string: Error code of payment or delivery methods
        - `payload` object: Error payload of payment or delivery methods
          - `max_price` object, nullable: Maximum required amount to use this delivery option or payment method
            - `currency_iso` string
            - `label` string
            - `dollars` number
            - `cents` number
            - `currency_symbol` string
          - `min_price` object, nullable: Minimum required amount to use this delivery option or payment method
            - `cents` number
            - `currency_symbol` string
            - `currency_iso` string
            - `label` string
            - `dollars` number
          - `amount` object, nullable: Actual amount for the delivery option or payment method; must be greater than or equal this amount
            - `currency_iso` string
            - `label` string
            - `dollars` number
            - `cents` number
            - `currency_symbol` string
          - `payment_id` string: Payment method identifier
          - `delivery_option_id` string: Delivery options identifier
      - `reminders` object[]: List of delivery options remindes with the cart
        - `code` string: Reminder code of payment or delivery methods
      - `delivery_data` object, nullable: Delivery data
        - `store_address` string, nullable: Delivery data store address
        - `store_address_detail` object, nullable: Delivery data store address detail
          - `level_3` string, nullable: Delivery data store address detail level 3
          - `level_1` string, nullable: Delivery data store address detail level 1
          - `level_2` string, nullable: Delivery data store address detail level 2
        - `sfexpress_type` string, nullable: Delivery data sfexpress type, can be `centre`, `store`, `circlek`, `711` and `eflocker`
        - `location_name` string, nullable: Delivery data location name
        - `pakpobox_type` string, nullable: Delivery data pakpobox type
        - `location_code` string, nullable: Delivery data location code
        - `district_translations` object, nullable: Delivery data district translations
          - `en` string, nullable
          - `zh-hant` string, nullable
        - `name_translations` object, nullable: Delivery data name translations
          - `en` string, nullable
          - `zh-hant` string, nullable
        - `target_channel_id` string, nullable: Delivery data target channel id
      - `delivery_option_id` string: Delivery option identifier
      - `cart_tag_id` string: Cart tag identifier
      - `postcode` string: Delivery postcode
      - `delivery_address` object, nullable: Delivery address
        - `recipient_name` string, nullable: Delivery recipient name
        - `recipient_phone` string, nullable: Delivery recipient phone
        - `country_code` string, nullable: Delivery country code
        - `address_1` string, nullable: Delivery address 1
        - `postcode` string, nullable: Delivery postcode
        - `recipient_phone_country_code` string, nullable: Delivery recipient phone country code
        - `country` string, nullable: Delivery country
        - `address_2` string, nullable: Delivery address 2
        - `city` string, nullable: Delivery address city
        - `state` string, nullable: Delivery stage or region
    - `applied_promotions` object[]: List of promotion items in the cart that were triggered
      - `discount_percentage` integer, nullable: Promotion discount percentage
      - `extended_promotion_id` string, nullable: Parent promotion id, applicable when this is a child promotion
      - `is_accumulated` boolean: Whether bundle pricing or bundle pricing accumulated
      - `is_partial_free_shipping` boolean: Whether the promotion offers partially free shipping
      - `_id` string: Promotion items identifier
      - `condition` object, nullable: Promotion condition
        - `min_item_count` integer, nullable: Minimum item quantity needed to activate the promotion
        - `whitelisted_product_ids` string[]: List of product IDs that are eligible for this promotion
        - `min_price` object: Minimum purchase amount required to activate the promotion
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
      - `discount_type` string: Promotion discount type
      - `discount_amount` object, nullable: Promotion discount amount
        - `currency_iso` string
        - `label` string
        - `dollars` number
        - `cents` number
        - `currency_symbol` string
      - `is_membership_tier_promotion` boolean: Whether the promotion is a membership tiered
      - `cart_tag_id` string, nullable: Promotion cart tag identifier
      - `coupon_item` object, nullable: List of promotion coupon items
        - `coupon_code` string, nullable: Promotion used coupon codes
        - `discounted_amount` object, nullable: Promotion discount amount
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `reward_credit` object, nullable: Promotion reward member credit amount
          - `cents` number
          - `currency_symbol` string
          - `currency_iso` string
          - `label` string
          - `dollars` number
        - `reward_point` integer, nullable: Promotion reward member point amount
      - `is_extend_promotion` boolean: Whether the promotion is a tiered promotion
      - `title_translations` object, nullable: Promotion title translation
        - `ms` string, nullable
        - `th` string, nullable
        - `vi` string, nullable
        - `zh-cn` string, nullable
        - `zh-hant` string, nullable
        - `en` string, nullable
        - `ja` string, nullable
      - `discounted_price` object, nullable: Promotion discount price
        - `label` string
        - `dollars` number
        - `cents` number
        - `currency_symbol` string
        - `currency_iso` string
      - `membership_tier_id` string, nullable: Promotion for specific membership tiers
      - `requires_membership` boolean: Whether the promotion requires membership
      - `summary_translations` object: Promotion summary translations
        - `label` object: Promotion label
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
        - `untriggered_reminder` object: Promotion untriggered reminder
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
        - `discount_summary` object
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
      - `whitelisted_membership_tier_ids` string[]: Promotion for specific membership tiers
      - `discount_on` string: Scope of the promotion discount — can be `order`, `item`, `category` or ``
    - `reminders` object[]: List of cart level reminders
      - `code` string: Cart level reminder code
      - `payload` object: Cart level reminder payload
        - `message` string, nullable: Cart level reminder message
    - `country` string: Cart country code
    - `postcode` string: Cart postcode
    - `coupon_codes` string[], nullable: Cart coupon codes
    - `user_credit_balance` integer: User's current user credit balance
    - `auto_reward_credit` object, nullable
      - `triggered` boolean, nullable: Indicates whether the user has received reward credit after completing the order.
      - `calculate_credit_value` string, nullable: User credit earned after order completion
    - `discount` object, nullable: Cart discount
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
    - `cart_addon_items_total` object: Cart addon item total
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
    - `max_custom_discount` object, nullable: Cart max custom discount
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
    - `region_code` string: Region code (e.g., state or province), depending on the country, such as `US`.
    - `payment_fee` object, nullable: Cart payment fee
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
    - `total_tax_fee` object, nullable: Cart total tax fee
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
    - `affiliate_data` object[], nullable: Cart affiliate data (social commerce)
      - `affiliate_name` string, nullable: Cart affiliate name
      - `utm_source` string, nullable: Cart affiliate utm source
      - `utm_medium` string, nullable: Cart affiliate utm utm_medium
      - `ecid` string, nullable: Cart affiliate ec identifier
    - `allowed_payment_cod_types` string[]: Available payment cod type, can be `NCOD` and `COD`
    - `id` string: Cart identifier
    - `applied_member_point_redeem_to_cash` object, nullable: Member points applied to the cart as a cash discount
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
    - `delivery_fee` object, nullable: Cart delivery fee
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
    - `delivery_tax_fee` object, nullable: Cart delivery tax fee
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
    - `owner_id` string: Cart owner identifier
    - `shop_session_id` string: Unique identifier for the shopping cart associated with a specific commerce platform
    - `referral_code` string: Cart referral code
    - `payment_cod_type` string: Cart payment code type, can be `NCOD` or `COD`
    - `subtotal` object, nullable: Cart subtotal
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
    - `sales_tax_fee` object, nullable: Cart sales tax fee
      - `label` string
      - `dollars` number
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
    - `errors` object[]: List of cart level errors
      - `code` string: Cart level error code
      - `payload` object: Cart level error payload
        - `payment_id` string, nullable: Payment method identifier
        - `delivery_option_id` string, nullable: Delivery options identifier
    - `available_delivery_options` object[]: Available delivery options
      - `cart_tag_id` string: Cart tag identifier
      - `delivery_options` object[]: List of delivery options
        - `id` string: Delivery option identifier
        - `name_translations` object, nullable: Delivery option translation
          - `en` string, nullable
          - `ja` string, nullable
          - `ms` string, nullable
          - `th` string, nullable
          - `vi` string, nullable
          - `zh-cn` string, nullable
          - `zh-hant` string, nullable
        - `config_data` object, nullable: Delivery option config data
          - `support_cod` boolean: Whether it support cash-on-delivery
          - `support_non_cod` boolean: Whether it support non-cash-on-delivery
    - `user_member_point_balance_except_redeem_gift` integer: User's current member point balance, excluding points reserved for redeeming gifts.
    - `total` object, nullable: Cart total
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
      - `cents` number
    - `discounted_subtotal` object, nullable: Cart discount subtotal
      - `cents` number
      - `currency_symbol` string
      - `currency_iso` string
      - `label` string
      - `dollars` number
    - `available_countries` string[]: Available countries
    - `member_point` object, nullable: User member points redeemed or earned after order completion
      - `redeemed_points` integer, nullable: Number of member points the user has redeemed for this cart.
      - `earned_points` integer, nullable: Number of member points the user will earn from this cart.
  - `trace_id` string

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-storefront-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-storefront-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-storefront-api/revisions/8c9cd5ce664d?raw)
