For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cart Registration

Provides a feature that lets customers add products to their cart from the product detail page instead of purchasing immediately, and perform the necessary operations on them. This allows customers to conveniently manage their orders and complete payment.


Key Features

  • Cart Registration Feature

    • Customers can add a desired product to the cart from the product detail page instead of purchasing it immediately.

  • In-Cart Operations Feature

    • In the cart, customers can perform various operations such as changing options, adjusting quantities, and removing products.

  • Cart Status Management Feature

    • You can look up the total quantity of products registered in the cart and validate whether they are eligible for ordering.

  • Non-Member and Member Cart Merge Feature

    • Cart items registered while not logged in are automatically merged when the member logs in, providing a unified cart.

  • Automatic Deletion Feature

    • Cart items are retained only up to the maximum retention period, and are automatically deleted by a batch program once that period is exceeded.

Process Definition

1

Cart Registration

Users can select the product's option information on the product detail page and add it to the cart. During registration, product information is checked so that only eligible products are added to the cart.

2

Cart Lookup

When entering the cart, the products in the cart are retrieved. Using the list of products in the cart, information for each product (item details, price information, delivery information, etc.) is retrieved and displayed.

3

Cart Total Quantity Lookup

Retrieves the total quantity of items registered in the cart.

4

Option Change

Users can select and change the quantity and options (size, color, etc.) of products registered in the cart.

5

Cart Deletion

Users can delete products registered in the cart.

6

Cart Merge

When a non-member logs in, the products that were added to the cart before logging in are merged into and displayed in the logged-in member's cart.

7

Cart Validation

Before proceeding to the order sheet for a direct purchase or when placing an order, this checks whether the data of the selected cart products is eligible for ordering (product sale status, purchasable quantity, stock, adult product certification status, purchase-restricted member status, etc.).

8

Automatic Cart Deletion

Products that have exceeded the maximum cart retention period are deleted by a batch program.

API Function List

API
Description
Server
Method
Remarks

Cart Lookup

  • Retrieves the products in the cart. Members are looked up by member number, and non-members by session number.

  • Only retrieves data where the order-completed flag is 'N'.

Order

GET

🔗View API > Calls Product API (per-product item information lookup (cart-only), delivery fee lookup by delivery policy number)

Cart Total Quantity Lookup

  • Retrieves the total quantity of items in the cart.

Order

GET

Cart Registration

  • Registers a product to the cart.

  • Called during direct purchase or add-to-cart.

  • The following items are validated on call. - Common: product sale status, purchasable quantity - Direct purchase: product stock, reservation product available date/time, non-members restricted from purchasing adult products, adult product certification status, delivery fee policy, orderer's purchase restriction status/age - Cart: delivery fee policy, whether the cart's maximum quantity is exceeded

Order

POST

🔗View API > Calls Product API (per-product item information lookup (cart-only))

Cart Option Change

  • Changes the quantity and options (size, color, etc.) of the selected product.

Order

PUT

🔗View API > Calls Product API (per-product item information lookup (cart-only))

Cart Deletion

  • Deletes the selected product from the cart.

  • This is a logical deletion that updates the order-completed flag to 'Y'.

  • Physical deletion is performed by the shopping bag deletion batch.

Order

PUT

Cart Merge

  • Merges cart items that were added while the user was a non-member into the logged-in member's cart at login.

Order

POST

Cart Product Order Eligibility Check

  • When Direct Purchase is clicked from the cart, checks whether the selected cart product data is eligible for ordering before proceeding to the order sheet. - Product: product sale status, purchasable quantity, stock, reservation product available date/time, non-members restricted from purchasing adult products, adult product certification status - Orderer: purchase-restricted member check, age verification

Order

POST

Terminology

Term
Description
Remarks

Option Change

Changes the purchase quantity and product options of items in the cart

Option Change

Direct Purchase

The case of moving directly to the order sheet product page to purchase the desired product immediately

Direct Purchase

Gifting

An order feature that lets you send the product you want to order as a gift to yourself or someone else

Gifting

Other Notes

  • Carts are distinguished by member number for members and session number for non-members.

  • The maximum cart quantity is managed via a common code. (See ST002: Maximum Add-to-Cart Quantity)

  • The cart retention period is managed via a common code. (See ST003: Cart Retention Period)

  • The cart deletion batch runs once daily. Cart deletion batch path: /batch/mbod/jobs/basketExpirationJob