# 장바구니 ID로 장바구니 가져오기 장바구니 ID로 사용자의 장바구니를 반환합니다. Endpoint: GET /v2/project/{project_id}/cart/{cart_id} Version: 2.0.0 Security: AuthForCart ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the project name and in the browser address bar when working with a project. The URL has the following format: https://publisher.xsolla.com//projects/. Example: 44056 - `cart_id` (string, required) 장바구니 ID입니다. Example: "custom_id" ## Query parameters: - `currency` (string) 장바구니에 표시되는 아이템 가격 통화입니다. ISO 4217에 따른 3자리 통화 코드입니다. 엑솔라에서 지원하는 통화에 대한 자세한 정보는 설명서를 확인하십시오. - `locale` (string) Response language. Two-letter lowercase language code per ISO 639-1 (for example, en). Five-character locale codes (for example, en-US) are supported in localization fields such as name and description, but are normalized to two-letter codes in responses. You can find the full list of supported languages in the documentation. ## Response 200 fields (application/json): - `cart_id` (string) 장바구니 ID입니다. Example: "cart_id" - `is_free` (boolean) true이면 장바구니는 무료입니다. - `items` (array) - `items.attributes` (array) 아이템에 해당하는 특성 및 해당 값의 목록입니다. 카탈로그 필터링에 사용할 수 있습니다. - `items.attributes.external_id` (string) 고유 특성 ID입니다. external_id는 소문자 및 대문자 라틴 영숫자, 대시 및 밑줄만 포함할 수 있습니다. - `items.attributes.name` (string) 특성의 이름입니다. Example: "Genre" - `items.attributes.values` (array) - `items.attributes.values.external_id` (string) 특성의 고유한 값 ID입니다. external_id에는 소문자 라틴어 영숫자, 대시, 밑줄만 사용할 수 있습니다. - `items.attributes.values.value` (string) 특성의 값입니다. Example: "Strategy" - `items.can_be_bought` (boolean) true일 경우 사용자는 아이템을 구매할 수 있습니다. - `items.description` (string) - `items.groups` (array) - `items.groups.external_id` (string) - `items.groups.name` (string) - `items.image_url` (string) - `items.is_bonus` (boolean) - `items.is_free` (boolean) 아이템이 무료인지 여부입니다. - `items.limits` (object,null) 아이템 제한 사항입니다. - `items.limits.per_item` (object,null) 한 개 아이템에 대한 아이템 제한 사항입니다. - `items.limits.per_item.available` (integer) 모든 사용자가 구매할 수 있는 남은 아이템 수량. Example: 3 - `items.limits.per_item.total` (integer) 모든 사용자가 구매할 수 있는 최대 아이템 수량. Example: 5 - `items.limits.per_user` (object,null) 사용자 한 명에 대한 아이템 제한 사항입니다. - `items.limits.per_user.available` (integer) 현재 사용자가 구매할 수 있는 남은 아이템 수량. Example: 3 - `items.limits.per_user.limit_exceeded_visibility` (string) Determines the visibility of the item in the catalog after the purchase limit is reached, until the next limit reset. Applies to items for which recurring limit resets are configured in the recurrent_schedule array. If limit resets are not configured, the item doesn't appear in the catalog after the purchase limit is reached, regardless of the limit_exceeded_visibility value. Possible values: - show — The item is returned in catalog retrieval API calls after the purchase limit is reached. In client-side catalog retrieval API calls, once the limit is reached, the item is returned with the can_be_bought: false flag. The next reset date is returned in reset_next_date. - hide — The item is not returned in catalog retrieval API calls after the purchase limit is reached, until the limit is reset. Enum: "show", "hide" - `items.limits.per_user.recurrent_schedule` (any) - `items.limits.per_user.total` (integer) 사용자 한 명이 구매할 수 있는 최대 아이템 수량. Example: 5 - `items.periods` (array,null) 아이템 판매 기간입니다. - `items.periods.date_from` (string) 지정된 아이템을 판매할 수 있는 날짜입니다. Example: "2020-08-11T10:00:00+03:00" - `items.periods.date_until` (string,null) 지정된 아이템을 판매할 수 없게 되는 날짜입니다. null일 수 있습니다. Example: "2020-08-11T20:00:00+03:00" - `items.price` (object,null) 아이템 가격입니다. Example: {"amount":"6150.0000000000000000","amount_without_discount":"6150.0000000000000000","currency":"USD"} - `items.price.amount` (string) Example: "6150.0000000000000000" - `items.price.amount_without_discount` (string) Example: "6150.0000000000000000" - `items.price.currency` (string) Example: "USD" - `items.promotions` (array) 장바구니의 특정 아이템에 적용된 프로모션. 다음의 경우 배열이 반환됩니다. * 특정 아이템에 대한 할인 프로모션이 구성된 경우 * 선택한 아이템 할인 설정이 있는 프로모션 코드가 적용된 경우 적용된 아이템 수준 프로모션이 없는 경우 빈 배열이 반환됩니다. - `items.promotions.bonus` (array) - `items.promotions.bonus.bundle_type` (string) 보너스 번들 아이템 유형입니다. bundle 보너스 아이템 유형에서만 사용할 수 있습니다. Enum: "standard", "virtual_currency_package" - `items.promotions.bonus.image_url` (string) 보너스 아이템 이미지 URL입니다. physical_good 보너스 아이템 유형에는 사용할 수 없습니다. - `items.promotions.bonus.name` (string) 보너스 아이템 이름입니다. physical_good 보너스 아이템 유형에는 사용할 수 없습니다. - `items.promotions.bonus.quantity` (integer) - `items.promotions.bonus.sku` (string) - `items.promotions.bonus.type` (string) 보너스 아이템 유형입니다. Enum: "virtual_good", "virtual_currency", "bundle", "physical_good", "game_key", "nft" - `items.promotions.date_end` (string,null) - `items.promotions.date_start` (string,null) - `items.promotions.discount` (object,null) - `items.promotions.discount.percent` (string,null) - `items.promotions.discount.value` (string,null) - `items.promotions.limits` (object) - `items.promotions.limits.per_user` (object) - `items.promotions.limits.per_user.available` (integer) - `items.promotions.limits.per_user.total` (integer) - `items.type` (string) - `items.virtual_item_type` (string) 아이템 유형입니다. - `items.virtual_prices` (array) 가상 가격입니다. - `items.virtual_prices.amount` (integer) 할인된 인게임 재화의 아이템 가격입니다. Example: 100 - `items.virtual_prices.amount_without_discount` (integer) 인게임 재화의 아이템 가격입니다. Example: 200 - `items.virtual_prices.description` (string,null) 인게임 재화 설명입니다. Example: "Most popular gold" - `items.virtual_prices.image_url` (string,null) 인게임 재화의 이미지입니다. Example: "http://image.png" - `items.virtual_prices.is_default` (boolean) 아이템의 가격이 기본값인지 여부입니다. Example: true - `items.virtual_prices.name` (string) 인게임 재화 이름입니다. Example: "Gold" - `items.virtual_prices.sku` (string) 인게임 재화 아이템 SKU입니다. Example: "gold" - `items.virtual_prices.type` (string) 인게임 재화 유형입니다. Example: "virtual_currency" - `items.vp_rewards` (array) 가치 포인트 아이템 보상입니다. - `items.vp_rewards.amount` (integer) 가치 포인트의 금액입니다. - `items.vp_rewards.image_url` (string) 이미지 URL입니다. - `items.vp_rewards.is_clan` (boolean) 값 포인트가 클랜 보상 체인에서 사용되는지 여부입니다. - `items.vp_rewards.item_id` (integer) 내부의 고유 아이템 ID입니다. - `items.vp_rewards.name` (string) 가치 포인트 이름입니다. - `items.vp_rewards.sku` (string) 고유 가치 포인트 ID입니다. - `price` (object,null) 장바구니 가격입니다. Example: {"amount":"6150.0000000000000000","amount_without_discount":"6150.0000000000000000","currency":"USD"} - `promotions` (array) 전체 장바구니에 적용된 프로모션. 다음의 경우 배열이 반환됩니다. * 구매 시 할인 설정 프로모션 코드와 같이 프로모션이 전체 장바구니 금액에 영향을 미치는 경우 * 장바구니에 보너스 아이템을 추가하는 프로모션의 경우 적용되는 주문 수준 프로모션이 없는 경우 빈 배열이 반환됩니다.