{"info":{"_postman_id":"da1ed0ba-ebbe-4558-aa54-b1b157a82f5f","name":"Shopee API Documentation Improvement","description":"<html><head></head><body><h1 id=\"brief-introduction-on-shopees-open-platform\">📄 Brief Introduction on Shopee's Open Platform</h1>\n<p>Shopee's Open Platform API helps developers who use the Shopee sellers platform meet various e-commerce needs. The Shopee Open Platform provides Open APIs and services that give developers access to many tools. These tools can improve how sellers operate, enhance customer experiences, and simplify business tasks. By using these APIs, businesses and developers can automate tasks, handle data more efficiently, and discover new opportunities within Shopee's marketplace.</p>\n<h2 id=\"🔖-the-goal-of-this-documentation\">🔖 The Goal of This Documentation</h2>\n<h1 id=\"shopee-api-documentation-improvement-project\">Shopee API Documentation Improvement Project</h1>\n<p>Shopee is one of the <strong>largest e-commerce platforms in Southeast Asia</strong>. Since its launch in <strong>2015</strong>, it has grown into a giant with <strong>hundreds of thousands of daily users</strong>—a remarkable achievement for any company.</p>\n<h2 id=\"the-importance-of-high-quality-api-documentation\">The Importance of High-Quality API Documentation</h2>\n<p>As Shopee competes with other industry giants, it’s essential for its <strong>Open Platform API documentation</strong> to meet the high standards set by its competitors. <strong>Clear, concise, and developer-friendly documentation</strong> is key for developers and users to navigate through its API resources.</p>\n<ul>\n<li><p><strong>High-quality API documentation</strong> is a necessity for fostering innovation and driving adoption.</p>\n</li>\n<li><p>The existing documentation has areas that could be improved to enhance <strong>readability, usability, and developer experience</strong>.</p>\n</li>\n</ul>\n<h2 id=\"project-goals\">Project Goals</h2>\n<p>This project aims to <strong>bridge the gaps</strong> in Shopee’s API documentation and make it more <strong>developer-friendly</strong>. While it’s not a conclusive solution, it is a meaningful contribution to improving the experience for developers navigating the Shopee API.</p>\n<h3 id=\"key-focus-areas\">Key Focus Areas:</h3>\n<ol>\n<li><p><strong>Clarity</strong>: Ensure the documentation is easy to understand.</p>\n</li>\n<li><p><strong>Usability</strong>: Make it simple for developers to find and use the information they need.</p>\n</li>\n<li><p><strong>Practicality</strong>: Provide actionable and relevant examples to reduce friction.</p>\n</li>\n</ol>\n<h2 id=\"personal-contribution\">Personal Contribution</h2>\n<p>I took it upon myself (<em>pats self on the back</em>) to create an <strong>improved version</strong> of the documentation. While this effort isn’t a definitive solution, it serves as a meaningful step forward—at least for me, and hopefully for other developers who interact with Shopee’s APIs.</p>\n<h3 id=\"expected-outcomes\">Expected Outcomes:</h3>\n<ul>\n<li><p><strong>Reduced friction</strong> for developers.</p>\n</li>\n<li><p><strong>Enhanced developer experience</strong>, enabling them to create innovative solutions on Shopee’s platform.</p>\n</li>\n</ul>\n<p>By prioritizing <strong>clarity, usability, and practicality</strong>, this project aims to make Shopee’s API documentation a more effective tool for developers.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"📄 Brief Introduction on Shopee's Open Platform","slug":"brief-introduction-on-shopees-open-platform"},{"content":"Shopee API Documentation Improvement Project","slug":"shopee-api-documentation-improvement-project"}],"owner":"41291950","collectionId":"da1ed0ba-ebbe-4558-aa54-b1b157a82f5f","publishedId":"2sAYX3qNoy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-03T03:49:25.000Z"},"item":[{"name":"Create Bundle Deal API Improvements","item":[],"id":"a2532523-3280-4a79-9150-9fccc989d3ba","description":"<h3 id=\"errors-typos-and-mistakes\">Errors, Typos, and Mistakes</h3>\n<p>The Shopee <code>v2.bundle_deal.add_bundle_deal</code> documentation contains grammatical errors, such as \"create bundle deal,\" which should be \"Create a bundle deal.\" Typos like \"invaild\" (should be \"invalid\") and repeated words (\"when when\") need correction. Ambiguous descriptions, such as the <code>rule_type</code> values, require clarification. Inconsistent formatting in tables and examples reduces readability. These issues must be fixed to improve the documentation's quality.</p>\n<h2 id=\"1-grammatical-error\">1. <strong>Grammatical Error</strong></h2>\n<ul>\n<li><p>\"create bundle deal\" should be \"Create a bundle deal.\"</p>\n</li>\n<li><p>\"using to identify your permission to the api\" should be \"used to identify your permission to access the API.\"</p>\n</li>\n<li><p>\"The time when bundle deal activity start\" should be \"The time when the bundle deal activity starts.\"</p>\n</li>\n<li><p>\"The time when bundle deal activity end\" should be \"The time when the bundle deal activity ends.\"</p>\n</li>\n<li><p>\"Title of the bundle deal\" is incomplete and should be \"The title of the bundle deal.\"</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"2-typos\">2. Typos</h2>\n<ul>\n<li><p>\"when when\" (repeated) in the description of <code>discount_value</code>.</p>\n</li>\n<li><p>\"invaild\" should be \"invalid\" in the error code <code>bundle.bundle_deal_invaild_discount_percentage</code>.</p>\n</li>\n<li><p>\"doesn't has\" should be \"doesn't have\" in the error description for <code>add_on.add_on_no_logistic</code>.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"3-ambiguous-descriptions\">3. Ambiguous Descriptions:</h2>\n<ul>\n<li><p>The description for <code>additional_tiers</code> is unclear. It should specify that the <code>fix_price</code>, <code>discount_percentage</code>, and <code>discount_value</code> must match the values in tier 1.</p>\n</li>\n<li><p>The description for <code>min_amount</code> in <code>additional_tiers</code> is redundant and confusing.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"4-redundant-information\">4. Redundant Information:</h2>\n<ul>\n<li><p>The description for <code>additional_tiers</code> repeats the same information about <code>fix_price</code>, <code>discount_percentage</code>, and <code>discount_value</code> multiple times.</p>\n</li>\n<li><p>The description for <code>min_amount</code> in <code>additional_tiers</code> is redundant and confusing.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"5-incorrect-or-missing-information\">5. <strong>Incorrect or Missing Information</strong>:</h2>\n<ul>\n<li><p>The description for <code>rule_type</code> does not clearly explain the valid values (1, 2, 3) and their meanings (FIX_PRICE, DISCOUNT_PERCENTAGE, DISCOUNT_VALUE).</p>\n</li>\n<li><p>The description for <code>additional_tiers</code> does not clearly state the maximum number of tiers allowed (3).</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"6-inconsistent-error-codes\">6. <strong>Inconsistent Error Codes</strong>:</h2>\n<ul>\n<li><p>Some error codes, like <code>bundle.bundle_deal_rule_type_mix_use</code>, lack detailed descriptions.</p>\n</li>\n<li><p>The error code <code>bundle.bundle_deal_tier_invalid</code> uses double percent signs (<code>%%</code>), which is incorrect.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"7-unclear-examples\">7. Unclear Examples:</h2>\n<ul>\n<li><p>The request example includes all parameters (<code>discount_value</code>, <code>fix_price</code>, <code>discount_percentage</code>) even though only one is required based on the <code>rule_type</code>.</p>\n</li>\n<li><p>The response example does not include all possible fields, such as <code>error</code> and <code>message</code>.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"8-missing-context\">8. <strong>Missing Context</strong>:</h2>\n<ul>\n<li>The FAQ links (e.g., <a href=\"https://open.shopee.com/faq/254\">https://open.shopee.com/faq/254</a>) are not explained in the documentation. They should be briefly described to provide context.</li>\n</ul>\n<hr />\n","_postman_id":"a2532523-3280-4a79-9150-9fccc989d3ba"},{"name":"Create Bundle Deal","item":[],"id":"b1757a66-f763-47b2-8409-08c11b19ac52","description":"<h4 id=\"get-apiv2shopget_profile\"><strong>GET</strong> <strong><code>/api/v2/shop/get_profile</code></strong></h4>\n<hr />\n<p>The <code>v2.bundle_deal.add_bundle_deal</code> API enables sellers to create promotional bundle deals on Shopee, offering fixed prices, discount percentages, or discount values for bundle purchases. This API helps sellers boost sales, attract customers, and streamline promotional campaigns on the platform. For more details on restrictions and guidelines, refer to the <a href=\"https://open.shopee.com/faq/254\">Bundle Deal FAQ</a>.</p>\n<h2 id=\"common-parameters\">Common Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Sample</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>partner_id</code></td>\n<td>int</td>\n<td>1</td>\n<td>Partner ID assigned upon successful registration. Required for all requests.</td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>timestamp</td>\n<td>1610000000</td>\n<td>Timestamp of the request. Must be within 5 minutes of the current time.</td>\n</tr>\n<tr>\n<td><code>access_token</code></td>\n<td>string</td>\n<td>c09222e3fc40ffb25fc...</td>\n<td>Token for API access. Valid for multiple uses and expires in 4 hours.</td>\n</tr>\n<tr>\n<td><code>shop_id</code></td>\n<td>int</td>\n<td>600000</td>\n<td>Shopee's unique identifier for a shop. Required for most APIs.</td>\n</tr>\n<tr>\n<td><code>sign</code></td>\n<td>string</td>\n<td>e318d3e932719916a9f...</td>\n<td>Signature generated using HMAC-SHA256. Required for authentication.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"api-endpoints\">API Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>URL</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Production (Global)</td>\n<td><code>https://partner.shopeemobile.com/api/v2/bundle_deal/add_bundle_deal</code></td>\n</tr>\n<tr>\n<td>Production (Chinese Mainland)</td>\n<td><code>https://openplatform.shopee.cn/api/v2/bundle_deal/add_bundle_deal</code></td>\n</tr>\n<tr>\n<td>Production (Brazil)</td>\n<td><code>https://openplatform.shopee.com.br/api/v2/bundle_deal/add_bundle_deal</code></td>\n</tr>\n<tr>\n<td>Test (Global)</td>\n<td><code>https://partner.test-stable.shopeemobile.com/api/v2/bundle_deal/add_bundle_deal</code></td>\n</tr>\n<tr>\n<td>Test (Chinese Mainland)</td>\n<td><code>https://openplatform.test-stable.shopee.cn/api/v2/bundle_deal/add_bundle_deal</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Sample</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>rule_type</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>1</td>\n<td>Bundle deal rule type: <code>1</code> (FIX_PRICE), <code>2</code> (DISCOUNT_PERCENTAGE), <code>3</code> (DISCOUNT_VALUE).</td>\n</tr>\n<tr>\n<td><code>discount_value</code></td>\n<td>float</td>\n<td>Yes*</td>\n<td>11.0</td>\n<td>Deducted price for rule type <code>3</code>.</td>\n</tr>\n<tr>\n<td><code>fix_price</code></td>\n<td>float</td>\n<td>Yes*</td>\n<td>11.0</td>\n<td>Fixed price for rule type <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>int</td>\n<td>Yes*</td>\n<td>33</td>\n<td>Discount percentage for rule type <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>min_amount</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>1</td>\n<td>Minimum quantity of items required for the bundle deal.</td>\n</tr>\n<tr>\n<td><code>start_time</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>1600000000</td>\n<td>Start time of the bundle deal (must be later than the current time).</td>\n</tr>\n<tr>\n<td><code>end_time</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>1610000000</td>\n<td>End time of the bundle deal (must be at least 1 hour after the start time).</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>\"bundle name\"</td>\n<td>Title of the bundle deal (1-25 characters).</td>\n</tr>\n<tr>\n<td><code>purchase_limit</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>3</td>\n<td>Maximum number of bundle deals a buyer can purchase.</td>\n</tr>\n<tr>\n<td><code>additional_tiers</code></td>\n<td>object[]</td>\n<td>No</td>\n<td></td>\n<td>Tiered discounts for bundle deals (max 2 additional tiers). <a href=\"https://open.shopee.com/faq/53\">Learn more</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-tiers-parameters\">Additional Tiers Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Sample</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>min_amount</code></td>\n<td>int</td>\n<td>Yes</td>\n<td>100</td>\n<td>Minimum quantity of items required for the additional tier.</td>\n</tr>\n<tr>\n<td><code>fix_price</code></td>\n<td>float</td>\n<td>No</td>\n<td>100.00</td>\n<td>Total price for the additional tier. Required if <code>rule_type</code> is <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>discount_value</code></td>\n<td>float</td>\n<td>No</td>\n<td>20.00</td>\n<td>Deducted price for the additional tier. Required if <code>rule_type</code> is <code>3</code>.</td>\n</tr>\n<tr>\n<td><code>discount_percentage</code></td>\n<td>int</td>\n<td>No</td>\n<td>20</td>\n<td>Discount percentage for the additional tier. Required if <code>rule_type</code> is <code>2</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"response-parameters\">Response Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Sample</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>error</code></td>\n<td>string</td>\n<td>\"bundle.bundle_deal_start_time_error\"</td>\n<td>Indicates the error type if an error occurs. Empty if no error.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>string</td>\n<td>\"The start time should be later than current time\"</td>\n<td>Error details if an error occurs. Empty if no error.</td>\n</tr>\n<tr>\n<td><code>request_id</code></td>\n<td>string</td>\n<td>\"b41cb9d4eff03a708347d69abcd4c63d\"</td>\n<td>Unique identifier for the API request, used for error tracking.</td>\n</tr>\n<tr>\n<td><code>response</code></td>\n<td>object</td>\n<td></td>\n<td>Contains the bundle deal details.</td>\n</tr>\n<tr>\n<td>→ <code>bundle_deal_id</code></td>\n<td>int</td>\n<td>11111</td>\n<td>Shopee's unique identifier for the bundle deal.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"request-example\">Request Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{  \n\"rule_type\": 1,  \n\"discount_value\": 11,  \n\"fix_price\": 11,  \n\"discount_percentage\": 33,  \n\"min_amount\": 1,  \n\"start_time\": 1600000000,  \n\"end_time\": 1610000000,  \n\"name\": \"bundle name\",  \n\"purchase_limit\": 3,  \n\"additional_tiers\": \\[  \n{  \n\"min_amount\": 100,  \n\"fix_price\": 100,  \n\"discount_value\": 20,  \n\"discount_percentage\": 20  \n}  \n\\]  \n}\n\n</code></pre>\n<hr />\n<h2 id=\"response-example\">Response Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": \"\",\n    \"message\": \"\",\n    \"request_id\": \"b41cb9d4eff03a708347d69abcd4c63d\",\n    \"response\": {\n        \"bundle_deal_id\": 11111\n    }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"error-example\">Error Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"error\": \"bundle.bundle_deal_start_time_error\",\n    \"message\": \"The start time should be later than current time\",\n    \"request_id\": \"485066ac3b30e1bcad15447ef16179b5\",\n    \"response\": {}\n}\n\n</code></pre>\n<hr />\n<h2 id=\"error-codes\">Error Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>add_on.add_on_no_logistic</code></td>\n<td>The item does not have a shipping channel. Set up a shipping channel first.</td>\n</tr>\n<tr>\n<td><code>bundle.bundle_deal_start_time_error</code></td>\n<td>The start time must be later than the current time.</td>\n</tr>\n<tr>\n<td><code>bundle.bundle_deal_invalid_discount_percentage</code></td>\n<td>Discount percentage must be between 1% and 99%.</td>\n</tr>\n<tr>\n<td><code>error_param</code></td>\n<td>Missing or invalid parameter.</td>\n</tr>\n<tr>\n<td><code>error_auth</code></td>\n<td>Invalid authentication (e.g., invalid <code>access_token</code> or <code>partner_id</code>).</td>\n</tr>\n<tr>\n<td><code>error_sign</code></td>\n<td>Incorrect signature.</td>\n</tr>\n<tr>\n<td><code>error_network</code></td>\n<td>Internal HTTP call failed.</td>\n</tr>\n<tr>\n<td><code>common.error_not_found</code></td>\n<td>The</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"api-permissions\">API Permissions</h2>\n<p>This API can be called by the following app types:</p>\n<ul>\n<li><p>ERP System</p>\n</li>\n<li><p>Seller In-House System</p>\n</li>\n<li><p>Marketing</p>\n</li>\n</ul>\n","_postman_id":"b1757a66-f763-47b2-8409-08c11b19ac52"},{"name":"Get Shop Profile API Improvements","item":[],"id":"a02f89fd-bb66-4c18-bf21-a031367e1a79","description":"<h3 id=\"errors-typos-and-mistakes\">Errors, Typos, and Mistakes</h3>\n<p>The Shopee <a href=\"https://open.shopee.com/documents/v2/v2.shop.get_profile?module=92&amp;type=1\">v2.shop.get_profile</a> API documentation contains several errors, typos, and inconsistencies may confuse end users. Below are some of the improvements made inside the final product.</p>\n<ol>\n<li><p>Seperated the <em>End Points</em> with the <em>Common Parameters</em> for better clarity.</p>\n</li>\n<li><p><strong>Original</strong>: <code>All checp prices while good quality</code><br /> <strong>Corrected</strong>: <code>All cheap prices while good quality</code></p>\n</li>\n<li><p><strong>Original</strong>: <code>Required param for most APIs.</code><br /> <strong>Corrected</strong>: <code>Required parameter for most APIs.</code></p>\n</li>\n<li><p><strong>Original</strong>: <code>The invoice issuer information for the shop. It could be \"Shopee\" or \"Other\" as the invoice issuer. This is for BR CNPJ seller only.</code><strong>Corrected</strong>: <code>The invoice issuer information for the shop. Values: \"Shopee\" or \"Other\" (for BR CNPJ sellers only).</code></p>\n</li>\n<li><p><strong>Original</strong>: Mixed formatting (e.g., <code>common.error_not_found</code> vs. <code>error_auth</code>).<br /> <strong>Corrected</strong>: Consistently formatted error codes (e.g., <code>common.error_not_found</code>, <code>error_auth</code>).</p>\n</li>\n<li><p><strong>Original</strong>: The explanation for <code>sign</code> was repeated in multiple places.<br /> <strong>Corrected</strong>: Streamlined to avoid redundancy.</p>\n</li>\n</ol>\n","_postman_id":"a02f89fd-bb66-4c18-bf21-a031367e1a79"},{"name":"Get Shop Profile","item":[],"id":"d59e7110-c9b7-4432-be49-3abaf9314747","description":"<h4 id=\"get-apiv2shopget_profile\"><strong>GET</strong> <strong><code>/api/v2/shop/get_profile</code></strong></h4>\n<hr />\n<p>This API retrieves detailed information about a Shopee shop (including its logo), name, description, and invoice issuer (for BR CNPJ sellers). It is a <code>GET</code> request and requires authentication via access_token, partner_id, and other common parameters.</p>\n<hr />\n<h3 id=\"common-parameters\"><strong>Common Parameters</strong></h3>\n<p>These parameters are required for all API requests.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Sample</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>partner_id</code></td>\n<td><code>int</code></td>\n<td><code>1</code></td>\n<td>Partner ID assigned upon successful registration. Required for all requests.</td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td><code>timestamp</code></td>\n<td><code>1610000000</code></td>\n<td>Timestamp of the request. Expires in 5 minutes. Required for all requests.</td>\n</tr>\n<tr>\n<td><code>access_token</code></td>\n<td><code>string</code></td>\n<td><code>c09222e3fc40ffb25fc947f738b1abf1</code></td>\n<td>Token for API access. Valid for multiple uses and expires in 4 hours.</td>\n</tr>\n<tr>\n<td><code>shop_id</code></td>\n<td><code>int</code></td>\n<td><code>600000</code></td>\n<td>Shopee's unique identifier for a shop. Required for most API parameters.</td>\n</tr>\n<tr>\n<td><code>sign</code></td>\n<td><code>string</code></td>\n<td><code>e318d3e932719916a9f9ebb57e201196</code></td>\n<td>Signature generated using <code>partner_id</code>, API path, <code>timestamp</code>, <code>access_token</code>, <code>shop_id</code>, and <code>partner_key</code> via HMAC-SHA256. <a href=\"https://open.shopee.com/documents?module=87&amp;type=2&amp;id=58&amp;version=2\">Learn more about signing requests</a>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"api-endpoints\"><strong>API Endpoints</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environments</th>\n<th><strong>URL</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Production (Global)</td>\n<td><code>https://partner.shopeemobile.com/api/v2/shop/get_profile</code></td>\n</tr>\n<tr>\n<td>Production (China)</td>\n<td><code>https://openplatform.shopee.cn/api/v2/shop/get_profile</code></td>\n</tr>\n<tr>\n<td>Production (Brazil)</td>\n<td><code>https://openplatform.shopee.com.br/api/v2/shop/get_profile</code></td>\n</tr>\n<tr>\n<td>Test (Global)</td>\n<td><code>https://partner.test-stable.shopeemobile.com/api/v2/shop/get_profile</code></td>\n</tr>\n<tr>\n<td>Test (China)</td>\n<td><code>https://openplatform.test-stable.shopee.cn/api/v2/shop/get_profile</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-parameters\"><strong>Request Parameters</strong></h3>\n<p>No additional parameters are required beyond the common parameters listed above.</p>\n<hr />\n<h3 id=\"response-parameters\"><strong>Response Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Sample</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>message</code></td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n<td>Error message if the request fails. Returns updated information if successful.</td>\n</tr>\n<tr>\n<td><code>request_id</code></td>\n<td><code>string</code></td>\n<td><code>\"142b43ff8d9b7799a4fbcca440104167\"</code></td>\n<td>Unique identifier for the API request. Useful for error tracking.</td>\n</tr>\n<tr>\n<td><code>response</code></td>\n<td><code>object</code></td>\n<td></td>\n<td>Contains shop details.</td>\n</tr>\n<tr>\n<td>→ <code>shop_logo</code></td>\n<td><code>string</code></td>\n<td><code>\"https://cf.shopee.sg/file/4d4f2e34c6d27cd3838a49a575f251bf\"</code></td>\n<td>URL of the shop's logo.</td>\n</tr>\n<tr>\n<td>→ <code>description</code></td>\n<td><code>string</code></td>\n<td><code>\"Welcome to our shop. All cheap prices while good quality.\"</code></td>\n<td>Description of the shop.</td>\n</tr>\n<tr>\n<td>→ <code>shop_name</code></td>\n<td><code>string</code></td>\n<td><code>\"OpenAPI Shop\"</code></td>\n<td>Name of the shop.</td>\n</tr>\n<tr>\n<td>→ <code>invoice_issuer</code></td>\n<td><code>string</code></td>\n<td><code>\"Other\"</code></td>\n<td>Invoice issuer information. Values: <code>\"Shopee\"</code> or <code>\"Other\"</code> (for BR CNPJ sellers only).</td>\n</tr>\n<tr>\n<td><code>error</code></td>\n<td><code>string</code></td>\n<td><code>\"\"</code></td>\n<td>Error key if the request fails.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"examples\"><strong>Examples</strong></h2>\n<h4 id=\"request-example\"><strong>Request Example</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-python\">Unirest.setTimeouts(0, 0);\nHttpResponse&lt;String&gt; response = Unirest.get(\"https://partner.shopeemobile.com/api/v2/shop/get_profile?access_token=access_token&amp;partner_id=partner_id&amp;shop_id=shop_id&amp;sign=sign&amp;timestamp=timestamp\")\n.asString();\n\n</code></pre>\n<hr />\n<h2 id=\"response-example-succcess\"><strong>Response Example (Succcess)</strong></h2>\n<p>{<br />\"message\": \"\",<br />\"request_id\": \"142b43ff8d9b7799a4fbcca440104167\",<br />\"response\": {<br />\"shop_logo\": \"<a href=\"https://cf.shopee.sg/file/4d4f2e34c6d27cd3838a49a575f251bf\">https://cf.shopee.sg/file/4d4f2e34c6d27cd3838a49a575f251bf\"</a>,<br />\"description\": \"Welcome to our shop. All cheap prices while good quality.\",<br />\"shop_name\": \"OpenAPI Shop\",<br />\"invoice_issuer\": \"Other\"<br />},<br />\"error\": \"\"<br />}</p>\n<hr />\n<h2 id=\"response-example-error\">Response Example (Error)</h2>\n<p>{<br />\"request_id\": \"9f0f9c5a9004a54e92a132ef6e96cd82\",<br />\"error\": \"error_auth\",<br />\"message\": \"Invalid partner_id or shopid.\"<br />}</p>\n<hr />\n<h2 id=\"error-code\">Error Code</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error Code</strong></th>\n<th><strong>Error Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>error_param</code></td>\n<td>Missing or invalid parameter (e.g., <code>access_token</code>, <code>partner_id</code>, <code>sign</code>, <code>timestamp</code>).</td>\n</tr>\n<tr>\n<td><code>error_auth</code></td>\n<td>Authentication failed (e.g., invalid <code>access_token</code> or <code>partner_id</code>).</td>\n</tr>\n<tr>\n<td><code>error_sign</code></td>\n<td>Incorrect signature.</td>\n</tr>\n<tr>\n<td><code>error_network</code></td>\n<td>Internal HTTP call failed.</td>\n</tr>\n<tr>\n<td><code>common.error_not_found</code></td>\n<td>The requested information was not found.</td>\n</tr>\n<tr>\n<td><code>common.error_param</code></td>\n<td>Wrong parameters provided. Details: <code>{msg}</code>.</td>\n</tr>\n<tr>\n<td><code>common.error_permission</code></td>\n<td>You do not have permission to access the current API.</td>\n</tr>\n<tr>\n<td><code>common.error_server</code></td>\n<td>Something went wrong. Please try again later.</td>\n</tr>\n<tr>\n<td><code>common.error_shop</code></td>\n<td>Invalid <code>shop_id</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"api-permissions\">API Permissions</h2>\n<p>This API can be called by the following app types:</p>\n<ul>\n<li><p>ERP System</p>\n</li>\n<li><p>Seller In-House System</p>\n</li>\n<li><p>Product Management</p>\n</li>\n<li><p>Customized APP</p>\n</li>\n<li><p>Ads Service</p>\n</li>\n</ul>\n","_postman_id":"d59e7110-c9b7-4432-be49-3abaf9314747"}],"event":[{"listen":"prerequest","script":{"id":"77828aaf-2183-499c-9755-8156b8feea93","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3ee90522-2a4c-4755-b6f1-d6c4b802aeea","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}