### Shopee Product Get Category API Request Examples Source: https://open.shopee.com/documents/v2/v2 Demonstrates how to call the Shopee Product Get Category API using different programming languages. These examples show the construction of the API request URL with necessary parameters and how to handle the response. ```java Unirest.setTimeouts(0, 0); HttpResponse response = Unirest.get("https://partner.shopeemobile.com/api/v2/product/get_category?language=zh-hans&access_token=access_token×tamp=timestamp&sign=sign&shop_id=shop_id&partner_id=partner_id") .asString(); ``` ```php 'https://partner.shopeemobile.com/api/v2/product/get_category?access_token=access_token&language=zh-hans&partner_id=partner_id&shop_id=shop_id&sign=sign×tamp=timestamp', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; ?> ``` ```curl curl --location --request GET 'https://partner.shopeemobile.com/api/v2/product/get_category?access_token=access_token×tamp=timestamp&sign=sign&shop_id=shop_id&partner_id=partner_id&language=zh-hans' ``` ```python import requests url = "https://partner.shopeemobile.com/api/v2/product/get_category?access_token=access_token&language=zh-hans&partner_id=partner_id&shop_id=shop_id&sign=sign×tamp=timestamp" payload={} headers = { } response = requests.request("GET", url, headers=headers, data=payload, allow_redirects=False) print(response.text) ``` -------------------------------- ### Shopee Product Get Category API Error Response Example Source: https://open.shopee.com/documents/v2/v2 Provides an example of an error response from the Shopee Product Get Category API, typically occurring due to invalid authentication or parameters. ```json { "request_id": "83ff790ff92c822fdd02cfd33b7900f8", "error": "error_auth", "message": "Invalid partner_id or shopid." } ``` -------------------------------- ### Shopee Product Get Category API Success Response Example Source: https://open.shopee.com/documents/v2/v2 Illustrates a successful response from the Shopee Product Get Category API. It includes fields for error status, messages, warnings, request ID, and the detailed category list. ```json { "error": "", "message": "", "warning": "", "request_id": "aaaaaaa", "response": { "category_list": [ { "category_id": 123, "parent_category_id": 456, "original_category_name": "aaa", "display_category_name": "bbb", "has_children": false } ] } } ``` -------------------------------- ### Get Shop Information - Shop API Source: https://open.shopee.com/documents/v2/v2 Retrieves detailed information about a seller's shop. This includes profile data and operational settings. ```Shop API get_shop_info ``` -------------------------------- ### GET /api/v2/product/get_category Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of product categories from Shopee. Supports multiple regional endpoints and includes common authentication parameters. ```APIDOC ## GET /api/v2/product/get_category ### Description Retrieves a list of product categories from Shopee. This endpoint supports multiple regional URLs and requires common authentication parameters such as partner_id, timestamp, access_token, and sign. ### Method GET ### Endpoint https://partner.shopeemobile.com/api/v2/product/get_category ### Parameters #### Query Parameters - **partner_id** (int) - Required - Partner ID assigned upon successful registration. - **timestamp** (timestamp) - Required - Timestamp of the request. Expires in 5 minutes. - **access_token** (string) - Required - Token for API access, identifying permission. Valid for multiple uses and expires in 4 hours. - **shop_id** (int) - Required - Shopee's unique identifier for a shop. Required for most APIs. - **sign** (string) - Required - Signature generated via HMAC-SHA256 using partner_id, API path, timestamp, access_token, shop_id, and partner_key. - **language** (string) - Optional - Specifies the language for category names. Defaults to 'en'. Supported languages vary by market. ### Request Example ```bash curl --location --request GET 'https://partner.shopeemobile.com/api/v2/product/get_category?access_token=access_token×tamp=timestamp&sign=sign&shop_id=shop_id&partner_id=partner_id&language=zh-hans' ``` ### Response #### Success Response (200) - **error** (string) - Indicates error type if an error occurred. Empty if no error. - **message** (string) - Indicates error details if an error occurred. Empty if no error. - **warning** (string) - Warning message, if any. - **request_id** (string) - Identifier for the API request for error tracking. - **response** (object) - Contains the API response data. - **category_list** (object[]) - An array of category objects. - **category_id** (int64) - ID for the category. - **parent_category_id** (int64) - ID for the parent category. - **original_category_name** (string) - Default name for the category. - **display_category_name** (string) - Display name for the category, dependent on display settings. - **has_children** (boolean) - Indicates whether this category has active children. #### Response Example ```json { "error": "", "message": "", "warning": "", "request_id": "aaaaaaa", "response": { "category_list": [ { "category_id": 123, "parent_category_id": 456, "original_category_name": "aaa", "display_category_name": "bbb", "has_children": false } ] } } ``` #### Error Example ```json { "request_id": "83ff790ff92c822fdd02cfd33b7900f8", "error": "error_auth", "message": "Invalid partner_id or shopid." } ``` ``` -------------------------------- ### Get Order List - Order API Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of orders for a seller. This is essential for managing sales and fulfillment processes. ```Order API get_order_list ``` -------------------------------- ### Get Escrow Detail - Payment API Source: https://open.shopee.com/documents/v2/v2 Retrieves detailed information about escrow payments. This is crucial for understanding transaction statuses and fund flows. ```Payment API get_escrow_detail ``` -------------------------------- ### Get Shipping Parameter - Logistics API Source: https://open.shopee.com/documents/v2/v2 Retrieves shipping parameters required for order fulfillment. This helps in configuring shipping methods and details. ```Logistics API get_shipping_parameter ``` -------------------------------- ### Get Global Product Category - Open Shopee API Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of global product categories. This is specifically for sellers operating on a global scale. ```Open Shopee API GlobalProduct(CB seller only) get_category ``` -------------------------------- ### Get Merchant Information - Merchant API Source: https://open.shopee.com/documents/v2/v2 Fetches information related to a merchant account. This API call is used to retrieve core merchant details. ```Merchant API get_merchant_info ``` -------------------------------- ### Get Product Category - Open Shopee API Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of product categories. This is a core function for product management within the Open Shopee platform. ```Open Shopee API v2.product.get_category ``` -------------------------------- ### Get Unbind Order List - FirstMile API Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of orders that are not yet bound to a first-mile tracking number. Used for managing initial shipment stages. ```FirstMile API get_unbind_order_list ``` -------------------------------- ### Initialize Video Upload - MediaSpace API Source: https://open.shopee.com/documents/v2/v2 Initiates the process for uploading video files. This involves setting up the upload parameters before actual data transfer. ```MediaSpace API init_video_upload ``` -------------------------------- ### Returns API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing returns. Retrieve return details, list returns, confirm, dispute, offer solutions, and manage return proofs. ```APIDOC ## GET /get_return_detail ### Description Retrieves the details of a specific return. ### Method GET ### Endpoint /get_return_detail ### Parameters #### Path Parameters - **return_id** (string) - Required - The ID of the return. ### Response #### Success Response (200) - **return_detail** (object) - The details of the return. #### Response Example { "return_detail": { "return_id": "return123", "status": "Pending", "reason": "Damaged item" } } ``` -------------------------------- ### Discount API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing discounts. Create, update, delete, and retrieve discount information. ```APIDOC ## POST /add_discount ### Description Adds a new discount to the Shopee store. ### Method POST ### Endpoint /add_discount ### Request Body - **discount_name** (string) - Required - The name of the discount. - **discount_percentage** (number) - Required - The percentage of the discount. - **start_time** (string) - Required - The start time of the discount. - **end_time** (string) - Required - The end time of the discount. ### Request Example { "discount_name": "Summer Sale", "discount_percentage": 0.20, "start_time": "2024-07-01T00:00:00", "end_time": "2024-07-31T23:59:59" } ### Response #### Success Response (200) - **discount_id** (string) - The ID of the newly created discount. #### Response Example { "discount_id": "67890" } ``` -------------------------------- ### Upload Image - Media API Source: https://open.shopee.com/documents/v2/v2 Handles the uploading of image files to the Media service. This is a fundamental operation for product and shop representation. ```Media API upload_image ``` -------------------------------- ### Add-On Deal API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing Add-On Deals. Create, update, delete, and retrieve Add-On Deal information. ```APIDOC ## POST /add_add_on_deal ### Description Adds a new Add-On Deal to the Shopee store. ### Method POST ### Endpoint /add_add_on_deal ### Request Body - **add_on_deal_name** (string) - Required - The name of the add-on deal. - **main_item_id** (string) - Required - The ID of the main item. - **sub_item_ids** (array) - Required - An array of IDs for the sub items. - **discount_percentage** (number) - Required - The percentage discount for the add-on items. - **start_time** (string) - Required - The start time of the add-on deal. - **end_time** (string) - Required - The end time of the add-on deal. ### Request Example { "add_on_deal_name": "Buy One Get One", "main_item_id": "main123", "sub_item_ids": ["sub456", "sub789"], "discount_percentage": 0.50, "start_time": "2024-08-01T00:00:00", "end_time": "2024-08-31T23:59:59" } ### Response #### Success Response (200) - **add_on_deal_id** (string) - The ID of the newly created Add-On Deal. #### Response Example { "add_on_deal_id": "131415" } ``` -------------------------------- ### Follow Prize API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing Follow Prizes. Allows creation, modification, and retrieval of follow prize promotions. ```APIDOC ## POST /add_follow_prize ### Description Adds a new follow prize promotion. ### Method POST ### Endpoint /add_follow_prize ### Request Body - **prize_name** (string) - Required - The name of the follow prize. - **discount_percentage** (number) - Required - The percentage of the discount offered. - **min_spend** (number) - Optional - The minimum spend required to claim the prize. ### Request Example { "prize_name": "Welcome Discount", "discount_percentage": 0.10, "min_spend": 20 } ### Response #### Success Response (200) - **follow_prize_id** (string) - The ID of the newly created follow prize. #### Response Example { "follow_prize_id": "222324" } ``` -------------------------------- ### Bundle Deal API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing bundle deals. Add, update, delete, and retrieve bundle deal information. ```APIDOC ## POST /add_bundle_deal ### Description Adds a new bundle deal to the Shopee store. ### Method POST ### Endpoint /add_bundle_deal ### Request Body - **bundle_deal_name** (string) - Required - The name of the bundle deal. - **items** (array) - Required - An array of item IDs included in the bundle deal. - **discount_percentage** (number) - Required - The percentage of the discount for the bundle. - **start_time** (string) - Required - The start time of the bundle deal. - **end_time** (string) - Required - The end time of the bundle deal. ### Request Example { "bundle_deal_name": "Summer Bundle", "items": ["item1", "item2", "item3"], "discount_percentage": 0.15, "start_time": "2024-07-01T00:00:00", "end_time": "2024-07-31T23:59:59" } ### Response #### Success Response (200) - **bundle_deal_id** (string) - The ID of the newly created bundle deal. #### Response Example { "bundle_deal_id": "101112" } ``` -------------------------------- ### Shopee Open Platform API Permissions Source: https://open.shopee.com/documents/v2/v2 This section details the types of applications and systems that are permitted to call the Shopee Open Platform API. Ensure your application type is listed to avoid permission errors. ```APIDOC ## API Permissions This section lists the authorized application types that can access the Shopee Open Platform API. Verify that your application falls under one of these categories. **Allowed APP Types:** * ERP System * Seller In House System * Product Management * Customized APP * Ads Service * Swam ERP * Livestream Management * Ads Facil ``` -------------------------------- ### Shop Flash Sale API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing Shop Flash Sales. Allows creation, modification, and retrieval of flash sale events and items. ```APIDOC ## POST /create_shop_flash_sale ### Description Creates a new Shop Flash Sale event. ### Method POST ### Endpoint /create_shop_flash_sale ### Request Body - **time_slot_id** (integer) - Required - The ID of the time slot for the flash sale. - **start_time** (string) - Required - The start time of the flash sale. - **end_time** (string) - Required - The end time of the flash sale. ### Request Example { "time_slot_id": 1, "start_time": "2024-07-15T10:00:00", "end_time": "2024-07-15T12:00:00" } ### Response #### Success Response (200) - **flash_sale_id** (string) - The ID of the newly created flash sale. #### Response Example { "flash_sale_id": "192021" } ``` -------------------------------- ### Product > v2.product.get_category Source: https://open.shopee.com/documents/v2/v2 Retrieves the category information for products. This endpoint allows developers to fetch product categories from Shopee's platform. ```APIDOC ## GET /api/v2/product/get_category ### Description Retrieves the category information for products. ### Method GET ### Endpoint /api/v2/product/get_category ### Parameters None ### Request Example None ### Response #### Success Response (200) - **category_list** (array) - List of categories - **category_id** (integer) - Category ID - **category_name** (string) - Category Name - **parent_category_id** (integer) - Parent Category ID - **is_leaf** (boolean) - Whether the category is a leaf node #### Response Example { "category_list": [ { "category_id": 100, "category_name": "Electronics", "parent_category_id": 0, "is_leaf": false } ] } ``` -------------------------------- ### Shop > get_shop_info Source: https://open.shopee.com/documents/v2/v2 Retrieves basic information about a shop. This endpoint is useful for developers to fetch shop details and integrate them into their applications. ```APIDOC ## GET /api/v2/shop/get_shop_info ### Description Retrieves shop information. ### Method GET ### Endpoint /api/v2/shop/get_shop_info ### Parameters None ### Request Example None ### Response #### Success Response (200) - **shop_name** (string) - Shop name - **shop_description** (string) - Shop description - **shop_logo** (string) - URL of the shop logo #### Response Example { "shop_name": "My Shopee Store", "shop_description": "Official store for high-quality products", "shop_logo": "https://example.com/logo.png" } ``` -------------------------------- ### Push API Source: https://open.shopee.com/documents/v2/v2 Endpoints for configuring and managing push notifications. Set app push configurations and retrieve lost push messages. ```APIDOC ## POST /set_app_push_config ### Description Sets the configuration for app push notifications. ### Method POST ### Endpoint /set_app_push_config ### Request Body - **config** (object) - Required - The push notification configuration. ### Request Example { "config": { "enabled": true, "frequency": "daily" } } ### Response #### Success Response (200) - **status** (string) - The status of the configuration update. #### Response Example { "status": "success" } ``` -------------------------------- ### Livestream API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing livestreams. Includes functionality for session management, item management, comments, and metrics. ```APIDOC ## POST /create_session ### Description Creates a new livestream session. ### Method POST ### Endpoint /create_session ### Request Body - **title** (string) - Required - The title of the livestream session. - **description** (string) - Optional - The description of the livestream session. - **start_time** (string) - Required - The scheduled start time of the session. - **end_time** (string) - Required - The scheduled end time of the session. ### Request Example { "title": "Summer Sale Livestream", "description": "Join us for amazing deals!", "start_time": "2024-07-10T14:00:00", "end_time": "2024-07-10T16:00:00" } ### Response #### Success Response (200) - **session_id** (string) - The ID of the newly created session. #### Response Example { "session_id": "session123" } ``` -------------------------------- ### Public API Source: https://open.shopee.com/documents/v2/v2 Publicly accessible endpoints, including those for retrieving shops and merchants, and managing access tokens. ```APIDOC ## GET /get_shops_by_partner ### Description Retrieves a list of shops associated with a specific partner. ### Method GET ### Endpoint /get_shops_by_partner ### Parameters #### Query Parameters - **partner_id** (integer) - Required - The ID of the partner. ### Response #### Success Response (200) - **shops** (array) - An array of shop objects. #### Response Example { "shops": [ { "shop_id": "shop1", "shop_name": "My Shop" } ] } ``` -------------------------------- ### FBS API Source: https://open.shopee.com/documents/v2/v2 Endpoints related to FBS (Finance Business Solution), including status queries for BR shop enrollment, invoice errors, shop block, and SKU block status. ```APIDOC ## GET /query_br_shop_enrollment_status ### Description Queries the enrollment status of a BR shop. ### Method GET ### Endpoint /query_br_shop_enrollment_status ### Parameters #### Query Parameters - **shop_id** (string) - Required - The ID of the shop. ### Response #### Success Response (200) - **enrollment_status** (string) - The enrollment status of the shop. #### Response Example { "enrollment_status": "Enrolled" } ``` -------------------------------- ### Top Picks API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing Top Picks. Allows fetching, adding, updating and deleting Top Picks list. ```APIDOC ## GET /get_top_picks_list ### Description Retrieves the list of Top Picks. ### Method GET ### Endpoint /get_top_picks_list ### Response #### Success Response (200) - **top_picks** (array) - An array of Top Picks objects. #### Response Example { "top_picks": [ { "item_id": "item1", "rank": 1 }, { "item_id": "item2", "rank": 2 } ] } ``` -------------------------------- ### Voucher API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing vouchers. Add, update, delete, and retrieve voucher information. ```APIDOC ## POST /add_voucher ### Description Adds a new voucher to the Shopee store. ### Method POST ### Endpoint /add_voucher ### Request Body - **voucher_code** (string) - Required - The code of the voucher. - **discount_percentage** (number) - Required - The percentage of the discount provided by the voucher. - **min_spend** (number) - Required - The minimum spend required to use the voucher. - **start_time** (string) - Required - The start time of the voucher. - **end_time** (string) - Required - The end time of the voucher. ### Request Example { "voucher_code": "SUMMER20", "discount_percentage": 0.20, "min_spend": 50, "start_time": "2024-07-01T00:00:00", "end_time": "2024-07-31T23:59:59" } ### Response #### Success Response (200) - **voucher_id** (string) - The ID of the newly created voucher. #### Response Example { "voucher_id": "161718" } ``` -------------------------------- ### Shopee Open Platform API Error Codes Source: https://open.shopee.com/documents/v2/v2 This section lists common error codes encountered when interacting with the Shopee Open Platform API, along with their descriptions. Understanding these errors is crucial for debugging and successful integration. ```APIDOC ## Error Codes This table outlines the various error codes returned by the Shopee Open Platform API and their corresponding descriptions, aiding developers in troubleshooting issues. | Error Code | Error Description | |-------------------------|------------------------------------------------------------------------| | `err_data` | Cannot accept your own offer. | | `error_param` | There is no access_token in query. | | `error_auth` | Invalid access_token. | | `error_param` | Invalid partner_id. | | `error_param` | There is no partner_id in query. | | `error_auth` | No permission to current api. | | `error_param` | There is no sign in query. | | `error_sign` | Wrong sign. | | `error_param` | no timestamp | | `error_param` | Invalid timestamp | | `error_network` | Inner http call failed | | `error_data` | parse data failed | | `error_data` | data not exist | | `error_param` | parameter invalid | | `error_param` | The information you queried is not found. | | `error_param` | Wrong parameters, detail: {msg}. | | `error_server` | Something wrong. Please try later. | | `error_shop` | shopid is invalid | | `error_param` | request not from gateway | | `error_param_shop_id_not_found` | Shop_id is not found. | | `error_invalid_language`| Invalid language. | | `error_inner` | Our system is taking some time to respond, please try later. | | `error_inner` | System error, please try again later or contact the OpenAPI support team.| | `error_item_not_found` | Product not found | | `error_inner` | Update item failed {{.error_info}} | | `error_auth` | Your shop can not use model level dts | | `error_system_busy` | Our system is taking some time to respond, please try later. | ``` -------------------------------- ### Shop Category API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing shop categories. Create, update, delete, and retrieve shop category information. ```APIDOC ## POST /add_shop_category ### Description Adds a new shop category. ### Method POST ### Endpoint /add_shop_category ### Request Body - **category_name** (string) - Required - The name of the category. - **parent_category_id** (string) - Optional - The ID of the parent category, if any. ### Request Example { "category_name": "Summer Collection", "parent_category_id": "" } ### Response #### Success Response (200) - **category_id** (string) - The ID of the newly created category. #### Response Example { "category_id": "252627" } ``` -------------------------------- ### Ads API Source: https://open.shopee.com/documents/v2/v2 Endpoints for managing ads campaigns. Create, update, delete, and retrieve ads information. ```APIDOC ## GET /get_total_balance ### Description Retrieves the total balance of the ads account. ### Method GET ### Endpoint /get_total_balance ### Response #### Success Response (200) - **total_balance** (number) - The total balance of the ads account. #### Response Example { "total_balance": 100.00 } ``` -------------------------------- ### SBS API Source: https://open.shopee.com/documents/v2/v2 Endpoints related to SBS (Shopee Business Solutions), including warehouse information, inventory, expiry reports, stock aging, and stock movement. ```APIDOC ## GET /get_bound_whs_info ### Description Retrieves information about bound warehouses. ### Method GET ### Endpoint /get_bound_whs_info ### Response #### Success Response (200) - **warehouses** (array) - An array of warehouse information objects. #### Response Example { "warehouses": [ { "warehouse_id": "whs1", "warehouse_name": "Warehouse A" } ] } ``` -------------------------------- ### Order > get_order_list Source: https://open.shopee.com/documents/v2/v2 Retrieves a list of orders based on specified criteria. This API endpoint is essential for sellers to manage and track their orders efficiently. ```APIDOC ## GET /api/v2/order/get_order_list ### Description Retrieves a list of orders. ### Method GET ### Endpoint /api/v2/order/get_order_list ### Parameters #### Query Parameters - **order_status** (string) - Optional - Filter orders by status (e.g., UNPAID, READY_TO_SHIP) - **page_size** (integer) - Optional - Number of orders per page - **page_number** (integer) - Optional - Page number - **create_time_from** (integer) - Optional - The start of the order create time. - **create_time_to** (integer) - Optional - The end of the order create time. ### Request Example None ### Response #### Success Response (200) - **order_list** (array) - List of orders - **order_sn** (string) - Order serial number - **order_status** (string) - Order status - **create_time** (integer) - Order creation timestamp #### Response Example { "order_list": [ { "order_sn": "240322ABC1234", "order_status": "READY_TO_SHIP", "create_time": 1679500800 } ] } ``` -------------------------------- ### v2.product.get_category Source: https://open.shopee.com/documents/v2/v2 Endpoint to retrieve category tree data. More detail please check https://open.shopee.com/developer-guide/209 ```APIDOC ## GET /api/v2/product/get_category ### Description Get category tree data. More detail please check https://open.shopee.com/developer-guide/209 ### Method GET ### Endpoint /api/v2/product/get_category ### Response #### Success Response (200) - **categories** (array) - An array of category objects. #### Response Example { "categories": [ { "category_id": 1, "category_name": "Electronics" }, { "category_id": 2, "category_name": "Fashion" } ] } ``` -------------------------------- ### Account Health API Source: https://open.shopee.com/documents/v2/v2 Endpoints for retrieving shop performance, metric details, penalty point history, punishment history and listings with issues. ```APIDOC ## GET /get_shop_performance ### Description Retrieves the performance metrics of the shop. ### Method GET ### Endpoint /get_shop_performance ### Response #### Success Response (200) - **shop_performance** (object) - The performance metrics of the shop. #### Response Example { "shop_performance": { "order_count": 100, "conversion_rate": 0.05 } } ``` -------------------------------- ### Income Statement API Source: https://open.shopee.com/documents/v2/v2 Endpoints for generating and retrieving income statements and reports. Use these endpoints to access financial data related to your Shopee store. ```APIDOC ## GET /generate_income_statement ### Description Generates an income statement for the specified period. ### Method GET ### Endpoint /generate_income_statement ### Parameters #### Query Parameters - **start_date** (string) - Required - The start date for the income statement period. - **end_date** (string) - Required - The end date for the income statement period. ### Response #### Success Response (200) - **report_id** (string) - The ID of the generated income statement report. #### Response Example { "report_id": "12345" } ``` -------------------------------- ### Logistics > get_shipping_parameter Source: https://open.shopee.com/documents/v2/v2 Retrieves the shipping parameters required for order fulfillment. This endpoint provides necessary details for shipping orders, ensuring accurate and efficient delivery. ```APIDOC ## GET /api/v2/logistics/get_shipping_parameter ### Description Retrieves shipping parameters. ### Method GET ### Endpoint /api/v2/logistics/get_shipping_parameter ### Parameters #### Query Parameters - **order_sn** (string) - Required - Order serial number ### Request Example None ### Response #### Success Response (200) - **logistics_channel_list** (array) - List of logistics channels - **logistics_channel_id** (integer) - Logistics channel ID - **logistics_channel_name** (string) - Logistics channel name - **enabled** (boolean) - Indicates if the channel is enabled #### Response Example { "logistics_channel_list": [ { "logistics_channel_id": 10, "logistics_channel_name": "Shopee Xpress", "enabled": true } ] } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.