快工电商助手跨境电商知识与商机助手

Instant Mart Integration Guide

Shopee 官方资料 · Shopee Open Platform 开发者指南 · 适合开发者

stable全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.developer_guide
语言
en
发布版本
cn-20261003-1
标签
zhuge/sourceplatform/shopeeaudience/developercategory/api_doctopic/apitopic/api-guidelines-and-flowstopic/developer

资料正文

§1 Instant Mart Integration Guide

This document introduces the process for product listing, order management, income reporting, and OpenAPI integration/testing flow on Instant Mart.

#

§2 Instruction of the Instant Mart Project

#

§3 Background:

Instant Mart is a special shop structure designed to support retailers who operate both central management and branch-level operations. Under this model:

  • Each Mart Shop (Official Shop) acts as the headquarters, responsible for managing global SKUs, creating items, and viewing financial reports.
  • Multiple Outlets (Branch Shops) exist under the mart, representing individual shop locations. Outlets are responsible for handling day-to-day operations, such as managing orders, maintaining stock, and packing parcels for riders to pick up.

With the Open API integration, Mart retailers can choose whether to manage SKUs at the merchant level (shared across all outlets) or at the outlet level (independent per branch).

Before integrating with Open API, retailers must onboard both the mart merchant and its outlet shops in the BDC portal, ensuring they are registered as Instant Mart Shops. This setup allows developers to build API solutions that support the full operational flow of Instant Mart retailers.

#

§4 1. Sandbox Test Account Setup

#

§5 1.1 Create Sandbox Test Account

1.1 Create Sandbox Test Account

You can start by accessing the Test Account page on Shopee Open Platform Console >Select Mart&Outlet shops module to create test shops.

【图片:未提供说明】

Note: Except for BR, all other regions can create Mart and Outlet Shop.

#

§6 2. Grant authorization

#

§7 2.1 Shop Authorization

2.1 Shop Authorization

Find the test Partner_id on the App List page:

【图片:未提供说明】

Click Authorize → log in with Mart account to complete authorization for Mart and Outlet shop at the same time.

【图片:未提供说明】

【图片:未提供说明】

Refer to the Authorization and authentication article for more information.

#

§8 3. Testing Process

#

§9 3.1 Open API Testing

3.1 Open API Testing

Use the API Test Tool or use Postman to test open API.

【图片:未提供说明】

#

§10 3.2 Key Open API Functions

3.2 Key Open API Functions

Key API functionalities required for ID Mart Project:

SectionSub_Section
ProductPreparation for New SKU
ProductCreating New SKU
ProductUpdate Existing SKU
ProductCreating SKU Variants
ProductStock & Price Management
ProductGeneral SKU Management
OrderGet Order List & Details
OrderCancelling Order
OrderRequest Shipment
OrderGenerate Tracking Number
OrderGenerate Airway Bill
Return & RefundGet Return List & Details
Return & RefundAccept Return/Refund
Return & RefundDispute Return/Refund
FinancialsGet Escrow Detail
FinancialsGet Wallet Transaction
FinancialsGenerate Income Statement
FinancialsGenerate Income Report
Shop SettingShop Profile Update
Shop SettingShop Operational Hours
#

§11 3.2.1 Mart&Outlet shop relationship

3.2.1 Mart&Outlet shop relationship

Check relationship: v2.shop.get_shop_info With mart_shop_id → returns all outlet shop IDs under the Mart. With outlet_shop_id → returns the corresponding Mart shop ID.

3.2.1.1 Use v2.shop.get_shop_info with a Mart Shop

When using mart_shop_id to call v2.shop.get_shop_info, it will return mart_outlet_structure_type and a list of all Outlet shop IDs under that Mart.

Note: mart_outlet_structure_type = warehouse_mart_shop type is currently only available in ID, and the mart_outlet_structure_type for other markets is normal_mart_shop.

Response example:

{

"error": "",

"message": "",

"request_id": "8c29db42a123456789",

"response": {

"shop_id": 1234567890,

"is_mart_shop": true,

"is_outlet_shop": false,

"mart_shop_id": 1234567890,

"mart_outlet_structure_type": "warehouse_mart_shop"

"outlet_shop_info_list": [

{

"outlet_shop_id": 225506317,

},

{

"outlet_shop_id": 225439688,

.....}

]

}

3.2.1.2 Use v2.shop.get_shop_info with a Outlet Shop

When calling v2.shop.get_shop_info with outlet_shop_id, the corresponding Mart shop ID and mart_outlet_structure_type will be returned. In this scenario, outlet_shop_info_list will not be returned.

Response sample:

{{

"error": "",

"message": "",

"request_id": "9d30ec53b987654321",

"response": {

....

"is_mart_shop": false,

"is_outlet_shop": true,

"mart_shop_id": 1234567890,

"mart_outlet_structure_type":"normal_outlet_shop"

}

#

§12 3.2.2 Product Management

3.2.2 Product Management

【图片:未提供说明】

Fields distinguish between Mart SKU vs Outlet SKU

Instant Mart has two structures: Normal Instant Mart and Warehouse Instant Mart.

Judgment criteria: When calling v2.shop.get_shop_info, mart_outlet_structure_type will return the corresponding value, such as: normal_mart_shop / warehouse_mart_shop / warehouse_outlet_shop / normal_outlet_shop.

  1. Standard Instant Mart
ModuleFieldMART SKU ManagementOutlet SKU Management
Basic informationtitleYesNo
Basic informationvideoYesNo
Basic informationimageYesNo
Basic informationstatusYesYes
Basic informationcategoryYesNo
SpecificationbrandYesNo
SpecificationattributeYesNo
Specificationsize chartYesNo
Specificationvariation nameYesNo
Specificationvariation optionYesNo
Specificationvariation imageYesNo
SpecificationpriceNoYes
Specificationpurchase limitNoYes
SpecificationwholesalesNoYes
SpecificationstockNoYes
Specificationmodel statusYesYes
Specificationmodule seller SKUYesNo
SpecificationweightYesNo
SpecificationdimensionYesNo
Shippinglogistics channelNoYes
Shippinginstallation channelNoYes
OthersDTSNoYes
Othersseller SKUYesNo
OthersconditionYesNo
  1. Warehouse-type Instant Mart(For ID only now)
ModuleFieldMART SKU ManagementNormal Outlet SKU ManagementWarehouse Outlet SKU Management
Basic informationtitleYesNoNo
Basic informationvideoYesNoNo
Basic informationimageYesNoNo
Basic informationstatusYesYesYes
Basic informationcategoryYesNoNo
SpecificationbrandYesNoNo
SpecificationattributeYesNoNo
Specificationsize chartYesNoNo
Specificationvariation nameYesNoNo
Specificationvariation optionYesNoNo
Specificationvariation imageYesNoNo
SpecificationpriceYesYesYes
Specificationpurchase limitYesYesYes
SpecificationwholesalesYesYesYes
SpecificationstockYesYesNo, sync Mart shop
Specificationmodel statusYesYesYes
Specificationmodule seller SKUYesNoNo
SpecificationweightYesNoNo
SpecificationdimensionYesNoNo
Shippinglogistics channelYesYesYes
Shippinginstallation channelYesYesYes
OthersDTSYesYesYes
Othersseller SKUYesNoNo
OthersconditionYesNoNo

Note: If a warehouse_outlet_shop calls to update the stock, it will respond with an error "product.cnsc_shop_block" with the message":"Cannot update seller stock in Shop SKU for CBSC shop. Please update this field in the Global SKU instead."

Key operations include: 1.Add Mart SKU → v2.product.add_item 2.Update SKU stock/price → v2.product.update_stock, v2.product.update_price (only at outlet level) 3.Publish Outlet SKU → v2.product.publish_item_to_outlet_shop 4.Sync Mart SKU to Outlet SKU → v2.product.update_item

3.2.2.1 Add Mart SKU

Add mart SKU by calling v2.product.add_item using mart shop_id.

Refer to the Creating Product article for more information.

Calling sample:

{

"original_price": 123.3,

"description": "rachel add item from openapi 002",

"weight": 1.1,

"item_name": "rachel add item from openapi item 001",

"item_status": "NORMAL",

"dimension": {

"package_height": 2,

"package_length": 3,

"package_width": 4

},

"category_id": 400091,

"logistic_info": [{

"size_id": 0,

"shipping_fee": 2.5,

"enabled": true,

"logistic_id": 80018,

"is_free": false

},

{

"size_id": 0,

"shipping_fee": 2.5,

"enabled": true,

"logistic_id": 81014,

"is_free": false

}],

"image": {

"image_id_list": ["c54265d475b85e00ffb2404585e32b6f", "6fb33d484f232510b5f9b169f2758322", "591ab15ea954b9879374765854595600", "00a2258551b5a2f0a7c283f877330f93", "abf02b19b42e4aa964ef0725491ca9e3", "730f45972377cd4eb9813c6e53e60e9a"]

},

"pre_order": {

"is_pre_order": false,

"days_to_ship": 2

},

"item_sku": "item sku 001",

"condition": "NEW",

"brand": {

"brand_id": 0,

"original_brand_name": "no brand"

},

"item_dangerous": 0,

"description_info": {

"extended_description": {

"field_list": [{

"field_type": "text",

"text": "rachel add item from openapi 001",

"image_info": {

"image_id": "-"

}

},

{

"field_type": "image",

"text": "-",

"image_info": {

"image_id": "c54265d475b85e00ffb2404585e32b6f"

}

}]

}

},

"description_type": "extended",

"seller_stock": [{

"location_id": "IDZ",

"stock": 555

}]

}

3.2.2.2 Update Mart SKU Stock/Price

Update Mart SKU stock and price by calling v2.product.update_stock or v2.product.update_price.

Refer to the Stock & Price Management article for more information.

Note: Stock and price can only be managed at the outlet shop level. You must provide the shop_id of the outlet shop when calling the API to update stock or price.

3.2.2.3 Publish Outlet SKU

Call v2.product.publish_item_to_outlet_shop to publish outlet SKU.

Calling sample:

{

"mart_item_id": 1234,

"outlet_shop_id": 2345,

"publish_item": {

"model": [

{

"relate_mart_model_id": 1234,

"original_price": 123,

"seller_stock": [

{

"location_id": "IDZ",

"stock": 100

}

],

"pre_order": {

"is_pre_order": false,

"days_to_ship": 3

}

],

"logistic_info": [

{

"logistic_id": 12345,

"enabled": true,

"shipping_fee": 3.45,

"size_id": 0,

"is_free": false

}

]

}

call v2.product.get_item_base_info to check if outlet item info sync correctly.

Refer to the Product base info management article to check the item information.

3.2.2.4 Get the Item Mapping Info

When the mart SKU has a published outlet SKU, call v2.get_mart_item_mapping_by_id to get the item mapping info.

Calling sample:

{

"mart_item_id": 844087076,

"outlet_shop_id_list": [

225034791

]

}

3.2.2.5 Sync Mart SKU to Outlet SKU

Sync the mart sku field to the outlet sku.

1.Call v2.product.update_item to update the mart item field.

2.Call v2.product.get_item_base_info/enter outlet shop seller center to check that the outlet item info syncs correctly.

Note:Only fields managed by mart sku can be sync to outlet sku.

#

§13 3.2.3 Instant Channel Dependency In ID

3.2.3 Instant Channel Dependency In ID

3.2.3.1Channel Structure Overview

Mask ChannelLogistics Channel
8000 - Instant80012 - GoSend Instant 80019 - GrabExpress Instant 80044 - SPX Instant
8008 - Instant 2 hours80054 - SPX Instant - 2 Jam80061- GrabExpress Instant - 2 Jam80063- GoSend Instant - 2 Jam
8007 - Instant 4 hours80053 -SPX Instant - 4 Jam80062- GrabExpress Instant - 4 Jam80064-GoSend Instant - 4 Jam

*Developers should understand that sellers are whitelisted separately for these channels.

3.2.3.2 Summary of the limitation about ID Instant Channels

Instant 2-hours (8008) and Instant 4-hours (8007) should always be toggled on/off together.

CaseCurrent ConditionActionErrors
18000 Instant: ON80044 SPX Instant: ON80012 GoSend Instant: OFF80019 GrabExpress Instant: OFF8008 Instant 2-hours: OFF 80054- SPX Instant - 2 Jam: OFF80061-GrabExpress Instant - 2 Jam:OFF80063-GoSend Instant - 2 Jam:OFF 8007 Instant 4-hours: OFF 80053-SPX Instant - 4 Jam: OFF80062-GrabExpress Instant - 4 Jam: OFF80064-Gosend Instant - 4 Jam: OFFTurn off 80044SPX Instant cannot be turned off. Please enable at least 1 of the following channel(s): {GoSend Instant, GrabExpress Instant, SPX Instant - 2 Jam, GrabExpress Instant - 2 Jam,GoSend Instant - 2 Jam,SPX Instant - 4 Jam,GrabExpress Instant - 4 Jam,GoSend Instant - 4 Jam}
28000 Instant: OFF80044 SPX Instant: OFF80012 GoSend Instant: OFF80019 GrabExpress Instant: OFF8008 Instant 2-hours: ON 80054- SPX Instant - 2 Jam: ON80061-GrabExpress Instant - 2 Jam:OFF80063-GoSend Instant - 2 Jam:OFF 8007 Instant 4-hours: ON 80053- SPX Instant - 4 Jam: ON80062-GrabExpress Instant - 4 Jam: OFF80064-Gosend Instant - 4 Jam: OFFTurn off 80054SPX Instant - 2 Jam channel cannot be turned off. Please enable at least 1 of the following channel(s). {SPX Instant, GoSend Instant, GrabExpress Instant, GrabExpress Instant - 2 Jam, GrabExpress Instant - 4 Jam, GoSend Instant - 2 Jam, GoSend Instant - 4 Jam}
38000 Instant: OFF80044 SPX Instant: OFF80012 GoSend Instant: OFF80019 GrabExpress Instant: OFF8008 Instant 2-hours: ON 80054-SPX Instant - 2 Jam : ON80061-GrabExpress Instant - 2 Jam:OFF80063-GoSend Instant - 2 Jam:OFF 8007 Instant 4-hours: ON 80053-SPX Instant - 4 Jam: ON80062-GrabExpress Instant - 4 Jam: OFF80064-Gosend Instant - 4 Jam: OFFTurn off 80053SPX Instant - 4 Jam channel cannot be turned off. Please enable at least 1 of the following channel(s). {SPX Instant, GoSend Instant, GrabExpress Instant, GrabExpress Instant - 2 Jam, GrabExpress Instant - 4 Jam, GoSend Instant - 2 Jam, GoSend Instant - 4 Jam,SPX Instant - 2 Jam}
4Seller is only whitelisted for Channel in 8000 Instant 8000 Instant: ON80044 SPX Instant: ON80012 GoSend Instant: OFF80019 GrabExpress Instant: OFFTurn off 80044SPX Instant channel cannot be turned off. Please enable the following channel(s). GoSend Instant, GrabExpress Instant
#

§14 3.2.4 Instant Channel Dependency In TH

3.2.4 Instant Channel Dependency In TH

3.2.4.1Channel Structure Overview

Mask ChannelLogistics Channel
070124-Instant Delivery - ส่งทันที (แพ็ก 30 นาที)
070125-Instant Delivery - ส่งทันที (แพ็ก 10 นาทีจากสาขา)
#

§15 3.2.5 Instant Channel Dependency In VN

3.2.5 Instant Channel Dependency In VN

3.2.5.1Channel Structure Overview

Mask ChannelLogistics Channel
511550040-SPX Instant - Hỏa Tốc - Ưu Tiên
#

§16 3.2.6 Instant Channel Dependency In PH

3.2.6 Instant Channel Dependency In PH

3.2.6.1Channel Structure Overview

Mask ChannelLogistics Channel
040079-Instant Delivery
040080-Instant Delivery Priority
#

§17 3.2.7 Order Management

3.2.7 Order Management

To create a test order, go to theTest Order page on the Shopee Open Platform Console and select Create Test Order.

【图片:未提供说明】

Choose the shop, items, and shipping option, then click Create to generate the order.

【图片:未提供说明】

The order information includes Order SN, Item ID, Status, Update Time, and Shop ID. You can also pick up, deliver, or delete the order from this page.

【图片:未提供说明】

Refer to the Order Management article for more information about following steps.

#

§18 3.2.8 Return & Refund Management

3.2.8 Return & Refund Management

Refer to the Return Refund Management article for more information.

#

§19 3.2.9 Finance: Get Income and wallet transactions

3.2.9 Finance: Get Income and wallet transactions

You can generate and retrieve the income statement, income report, or wallet transactions by calling the APIs with a Mart shop_id. When using a Mart shop_id, the response will return an aggregated document that includes all outlet shops under the Mart shop.

FunctionOpen APIRemark
generate income reportv2.payment.generate_income_reportRequest Parameter: release_time_from and release_time_to.
get income reportv2.payment.get_income_reportTo query income report status and provide file link by passing income_report_id.
generate income statementv2.payment.generate_income_statementRequest Parameter:statement_type=1 means weakly statement;statement_type=2 means monthly statement
get income statementv2.payment.get_income_statementTo query income statement status and provide a file link by passing income_statement_id
get wallet transactionv2.payment.get_wallet_transaction_listGet the transaction records of the wallet.
#

§20 3.2.10 Shop Setting

3.2.10 Shop Setting

1.You can update the shop name, logo, and description by calling v2.shop.update_profile. 2.You can update the operating hours by calling v2.logistics.update_operating_hours. Note:

  • The values provided must comply with the restrictions retrieved from v2.logistics.get_operating_hour_restrictions.
  • This API performs overwriting updates. When updating pickup operating hours, you must include all segments, even those that remain unchanged.
#

§21 4. Push Mechanism

The push mechanism is a dictionary of system notifications from Shopee, covering product, order, return, marketing, stability, and general marketplace updates.

For Instant Mart, it is recommended to connect toorder_status_push. For more details, please refer to the order_status_push article.

#

§22 5. FAQ & Raise for Help

5. FAQ & Raise for Help

For common questions, please refer to the FAQs.

If you encounter any issues related to Instant Mart APIs (e.g. onboarding, logistics channel configuration, order sync, etc.), please raise a ticket to the Shopee Product Support team [here].

When submitting the ticket, kindly select: L1 Question Category → Instant Mart

Selecting the correct category helps us identify and prioritize your request more efficiently.

#