> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api-guide/api-guides-en/store-front/goods/product-detail.md).

# Product Detail

This is a guide to the Product Detail API used to compose the product detail screen on the front end based on the registered product number (goodsNo).

**Providing Product Information**

* The basic unit of a product, including sub-item information such as color/size.
* Provides a variety of information, including product price, stock, sales status, partner, brand, product reviews, product Q\&A, product delivery information, and discount information (including promotions).

**Applying Caching**

* Caching is applied to external content (images, product detail HTML) to minimize data traffic, with customer experience designed as the top priority.

***

## Key Features

* **Vendor Information Management**: Provides additional information about the product supply vendor (partner).
* **Standard Category Information**: Provides a standard classification system for managing products, allowing navigation to the representative display category for each standard category.
* **Filtering for Members Under 19**: In accordance with applicable law, filters certain products (harmful media and harmful drugs) from being shown to members under the age of 19.
* **Price Information**
  * Provides various price information, including supply price, regular price, selling price, and event price.
  * Various option combinations can be configured per item, and additional charges per item are also transparently provided.
* **Product Status**: Provides sales status options such as sold out, temporarily sold out, sales ended, and reserved, depending on the sales status of the product and its items.
* **Stock Management**: Configured to manage stock efficiently, providing features such as the maximum order quantity per order, stock quantity display, and safety stock.
* **Delivery Information**: Provides various delivery-related information based on the applied delivery type and delivery/return fee policy.
* **Image Information**: Provides various image information, including the main image, additional images, and thumbnail images, developed with caching to minimize customer traffic.
* **Related Product Registration**: Developed so that products similar or related to the current product can be registered and displayed as related products.
* **Additional Services**: Provides additional services related to product purchases by offering gift and complimentary item information.
* **External Channel Discount Information**: When a customer accesses the product detail page through an external channel, provides information about additional discounts specific to that channel code.

## Process Definition

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FyEIOUFgb1vAUi1sySiqH%2F183107758.jpg?alt=media&#x26;token=d03ab8ec-2c6b-49d4-8b28-8c350b75400c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FPdb3tDlc4q2fN2evIOzE%2F182419608.jpg?alt=media&#x26;token=a58b435d-597e-44f8-ab0c-e3eb0ad01564" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Retrieve Product Detail Information

* Retrieves and displays product detail information
* Retrieves and displays basic product information, content information, related products, brief review information, product icon information, and basic item information
  {% endstep %}

{% step %}

### Retrieve Maximum Benefit Price per Product

* Reflects the maximum benefit price when displaying the product price
* The maximum benefit price information API provides information from the promotion module
  {% endstep %}

{% step %}

### Retrieve Option Information (Option Popup)

* Displays item option information in a select box
* Validates quantity changes using stock management status, purchase quantity limits, and minimum/maximum purchase quantity information
  {% endstep %}

{% step %}

### Increase/Decrease Stock per Item

* API for increasing/decreasing stock due to orders, exchanges, and returns
* Requests an increase/decrease based on item orders placed through the order module
* Only stock-managed products are processed for increase/decrease
  {% endstep %}

{% step %}

### Retrieve Complimentary Item Information

* Requested by the order module to display the complimentary item for the relevant product
* Complimentary item information is provided as text only, containing the item name
  {% endstep %}

{% step %}

### Retrieve Display Product Information (Display Product Summary)

* Summarized product information used in listings; requested to retrieve product information for display in a list
* Supports retrieving multiple products at once for the products to be displayed in a list
* Product image: Provides the required main image of the product
  {% endstep %}

{% step %}

### Retrieve Item Information per Product

* Retrieves information about the items under a product
* Provides basic product information, representative display category information, item name, stock information, and price information
  {% endstep %}

{% step %}

### Retrieve Item Information per Product (Order-Only)

* Retrieves information for multiple products
* Used when selecting a different item with the same available purchase quantity, selling price, and item surcharge during an exchange in the order module
* Only items with stock greater than the requested quantity are retrieved
  {% endstep %}

{% step %}

### Retrieve Substitutable Item Information (Cart)

* Retrieves information for multiple products
* Among items other than the requested product/item, retrieves other items with the same selling price and item surcharge
* Retrieves other item information with the same item surcharge
* Only items with a quantity greater than the requested quantity are retrieved
  {% endstep %}

{% step %}

### Retrieve Item Information per Product (Cart-Only)

* Requested to display detailed information for each item in the cart
* Retrieves item information based on multiple item numbers received as a list
  {% endstep %}

{% step %}

### Retrieve Available Payment Methods per Product

* Retrieves payment methods for multiple products
* Only retrieves payment methods with a usage status of 'Y'
* Retrieved by the order module to display the list of payment methods for a product
  {% endstep %}

{% step %}

### Retrieve Instant Discount Price per Item

* The instant discount price information API provides information from the promotion module
* Requested to display the instant discount price in the product list
  {% endstep %}
  {% endstepper %}

## API Function List

<table><thead><tr><th width="107.888916015625">API</th><th width="357.77783203125">Description</th><th width="93.5555419921875">Server</th><th width="86.888916015625">Method</th><th>Notes</th></tr></thead><tbody><tr><td>Retrieve Substitutable Item<br>Information (Cart)</td><td>•API called when retrieving a single product.<br>•For the requested product, retrieves a list of other items — besides the requested item — that are substitutable by product+item+quantity (other items with the same selling price + item surcharge).<br>• Since the product price is the same, only the item surcharge is<br>checked.<br>• Only retrieves items whose stock is greater than the requested quantity.<br>• Retrieves using the language code stored in the cookie.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=getOrderItmInfo">🔗View API ></a></td></tr><tr><td>Increase/Decrease Stock<br>per Item</td><td>• Returns an error if the decreased item quantity exceeds the stock quantity<br>(resulting in negative stock).<br>• Changes the item sales status code to "On Sale" if the increased item quantity exceeds the safety stock quantity.</td><td>Goods</td><td>PUT</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=setStockUpdate">🔗View API ></a></td></tr><tr><td>Retrieve Option Information<br>(Option Popup)</td><td>• API for retrieving the option list for a product.<br>• When retrieving a bundle product, retrieves the option list of the bundle product's representative product.<br>• Retrieves the options that include items whose product display status is Y and whose item sales status is On Sale/Sold Out.<br>• Excludes single products with no item list from the retrieval.<br>• Includes basic item information for leaf options.<br>• Retrieves using the site number and mall number stored in the cookie.<br>• For preview, retrieves using the preview language code in the request; otherwise, retrieves using the language code stored in the cookie.</td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltProductOptionInfo">🔗View API ></a></td></tr><tr><td>Retrieve Item Information<br>per Product<br>(Cart-Only)</td><td>• Called to retrieve detailed information per item in the cart.<br>• Retrieves item<br>detail information based on the item numbers received as a list.<br>• Retrieves using the language code and mall number stored in the cookie.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltOrderItmInfo">🔗View API ></a></td></tr><tr><td>Retrieve Item Information<br>per Product<br>(Order-Only)</td><td>• Called when retrieving multiple products.<br>• For each requested product, retrieves the item list per product for other items — besides the requested item — that are substitutable by product+item+quantity (other items with the same selling price + item surcharge).<br>• Only retrieves items whose stock is greater than the requested quantity.<br>• Retrieves using the language code stored in the cookie.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=getOrderItmInfos">🔗View API ></a></td></tr><tr><td>Retrieve Item Information<br>per Product</td><td>• Retrieves information for all items within a product, based on the product number.<br>• Retrieves using the language code stored in the cookie.<br>• Retrieves the item name, stock information, and price information.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=getProductInfo">🔗View API ></a></td></tr><tr><td>Retrieve Maximum Benefit Price<br>per Product<br>(Provided by Promotion)</td><td>• API for retrieving the maximum benefit price of a product.<br>• If the request does not include an item number, retrieves the price based on the item<br>with the lowest item number, applying the<br>promotion's maximum benefit price.<br>• If the request includes an item number, retrieves the price based on that item number of the product, applying the promotion's maximum<br>benefit price.<br>• Retrieves the list of promotions applicable to the maximum benefit price.<br>• Retrieves using the site number and mall number<br>stored in the cookie.<br>• If the request includes a channel number, retrieves using that channel<br>number; otherwise, retrieves using the channel number stored in the cookie.<br>• If the user is logged in, the logged-in user's information is<br>applied to the promotion's maximum benefit price calculation conditions.</td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=getItemPriceInfo">🔗View API ></a><br>[Product Detail Maximum Benefit Price Lookup]<br>/api/order/v1/marketing/maxDcAmt</td></tr><tr><td>Retrieve Instant Discount Price<br>per Item</td><td>• API for retrieving the instant discount price per item.<br>• Retrieves using the site number and mall number<br>stored in the cookie.<br>- Retrieves price information with the instant discount price<br>applied to the item.</td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=getImmediateDcInfo">🔗View API ></a><br>[Retrieve Instant Discount Price per Product]<br>/api/order/v1/marketing/goodsDirectDiscountList</td></tr><tr><td>Retrieve Available<br>Payment<br>Methods per Product</td><td>• Retrieves the payment methods for each of<br>multiple products.<br>• Retrieves using the language code stored in the cookie.<br>• Only retrieves payment methods with a usage status of 'Y'.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltPayMeanList">🔗View API ></a></td></tr><tr><td>Retrieve Complimentary Item<br>Information</td><td>• Retrieves the complimentary item for a product.<br>• 1001: An error that occurs when the request value is missing or the request value does not include a product number.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltPromotionGiftList">🔗View API ></a></td></tr><tr><td>Retrieve Product Detail Information</td><td>• API for retrieving detailed product information<br>on the product's detail page.<br>• Retrieves products whose display status is Y, sales status is On Sale/Sold Out, and that fall within the sales period. • Retrieves the product's basic/item/brand/image/price/payment method/related product/bundle product/delivery fee policy/promotion/complimentary item/review rating statistics information.<br>• Retrieves using the language code, site number, and<br>mall number stored in the cookie.</td><td>Goods</td><td>GET</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltProductDetailInfo">🔗View API ></a></td></tr><tr><td>Retrieve Display Product<br>Information<br>(Display Product Summary)</td><td>• Supports retrieving multiple products.<br>• Provides the product's main image as the image.<br>• For preview, retrieves using the preview language<br>code in the request; otherwise, retrieves using the language code stored in the cookie.</td><td>Goods</td><td>POST</td><td><a href="http://api.x2bee.com/content?msa=goods&#x26;depth=%EC%83%81%ED%92%88%EC%83%81%EC%84%B8&#x26;path=seltProductSmryInfo">🔗View API ></a></td></tr></tbody></table>

## Terminology

<table><thead><tr><th width="136.22216796875">Term</th><th>Description</th><th data-hidden>Notes</th></tr></thead><tbody><tr><td>Product</td><td>• Refers to any goods sold through a commerce channel.<br>• The basic unit for displaying a product, and the basic unit that composes the product detail screen. • A product is the unit by which price is managed.</td><td></td></tr><tr><td>Item</td><td>• The smallest management unit under a product — the smallest unit of product stock and sale, i.e., the unit the customer actually purchases.<br>• The unit for managing order product information based on the customer's selected options.<br>• The unit for managing stock. (In the solution, stock refers to 'web stock'.)<br>• Item information is created from a combination of options.<br>(Example) Item A: Color-Black/Size-260 / Item B: Color-Black/Size-250</td><td></td></tr><tr><td>Option</td><td>• The basic unit for creating product variations.<br>• Items such as 'Color' and 'Size' are called option names, and 'Black', 'XL', etc. are called option values. • Option types that are commonly used across most commerce include gender, color, size, weight, capacity, and region, and additional types can be added per site as needed.</td><td></td></tr><tr><td>General Product (Category)</td><td>• Refers to any goods product for which standard delivery is provided.</td><td></td></tr><tr><td>Gift (Category)</td><td>• Refers to a product provided at no additional cost to customers who meet certain conditions through a promotion or event, such as purchasing a specific product or purchasing above a certain amount.</td><td></td></tr><tr><td>General Product</td><td>• Refers to a product whose options are managed as codes at the item level.<br>• Stock is deducted at the item level.</td><td></td></tr><tr><td>Bundle Product</td><td>• Refers to a bundle product used for display purposes, regardless of whether a discount is applied.<br>• Customers purchase by selecting some of the products that make up the option composition.</td><td></td></tr><tr><td>Reservation Product</td><td>• Refers to a product that is pre-ordered over a set period and shipped together on the delivery notification date. - Reservation products are registered by selecting at the item level, which is the sales unit.<br>• Items can only be retrieved and selected when the reservation product information's display period falls within the product's display period.</td><td></td></tr></tbody></table>

##
