1. Home
  2. Docs
  3. Current
  4. Guides
  5. Products
  6. Manage product request

Manage product request

1. Query the latest request info (created successfully request only)

Get latest product request example

GET https://api.tiki.vn/integration/v2/requests

Response

{
  "data": [
    {
      "request_id": "1121408707461612725",
      "state": "approved",
      "created_at": "2019-12-20 11:57:50",
      "created_by": "tran.nguyen2@tiki.vn",
      "kind": "create_product",
      "approved_at": "2019-12-20 12:11:06",
      "approved_by": "khoa.tran2@tiki.vn",
      "reasons": null,
      "products": []
    },
    {
      "request_id": "1120793560477041639",
      "state": "awaiting_approve",
      "created_at": "2019-12-18 19:13:28",
      "created_by": "tran.nguyen2@tiki.vn",
      "kind": "create_product",
      "approved_at": null,
      "approved_by": null,
      "reasons": null,
      "products": []
    }
  ],
  "paging": {
    "total": 7837,
    "current_page": 1,
    "from": 0,
    "to": 20,
    "per_page": 20,
    "last_page": 392
  }
}

Get a product request example

GET https://api.tiki.vn/integration/v2/requests/1121456196340384958

Response

{
  "request_id": "1121456196340384958",
  "state": "approved",
  "created_at": "2019-12-20 15:06:32",
  "created_by": "tran.nguyen2@tiki.vn",
  "kind": "create_product",
  "approved_at": "2019-12-20 15:07:07",
  "approved_by": "khoa.tran2@tiki.vn",
  "reasons": null,
  "products": [
    {
      "product_id": 2091401,
      "sku": "2886025648971",
      "name": "Disney Women's MK2106 Mickey Mouse White Bracelet Watch with Rhinestones",
      "active": 1,
      "original_sku": "B0055QD0EC5",
      "price": 984000,
      "market_price": 984000,
      "images": [
        {
          "id": null,
          "url": "https://uat.tikicdn.com/ts/product/45/02/eb/b024dce6529a4443fb4ad58c0f914e15.jpg",
          "path": "product/45/02/eb/b024dce6529a4443fb4ad58c0f914e15.jpg",
          "position": 0,
          "width": 1335,
          "height": 2259
        },
        {
          "id": null,
          "url": "https://uat.tikicdn.com/ts/product/fa/18/d1/bd7c815ee514344cf56256eb7a3cd9d8.jpg",
          "path": "product/fa/18/d1/bd7c815ee514344cf56256eb7a3cd9d8.jpg",
          "position": 1,
          "width": 0,
          "height": 0
        }
      ],
      "categories": [
        {
          "id": 601225,
          "name": "Laptop of JD",
          "url_key": null,
          "is_primary": true
        },
        {
          "id": 601223,
          "name": "Danh mục hàng JD",
          "url_key": null,
          "is_primary": false
        },
        {
          "id": 1882,
          "name": "Điện Gia Dụng",
          "url_key": null,
          "is_primary": false
        },
        {
          "id": 2,
          "name": "Root yyy",
          "url_key": null,
          "is_primary": false
        }
      ],
      "attributes": {
        "status": {
          "attribute_code": "status",
          "value": 1,
          "input_type": null
        },
        "sku": {
          "attribute_code": "sku",
          "value": "9493225709765",
          "input_type": null
        },
        "brand": {
          "attribute_code": "brand",
          "value": 50583,
          "input_type": null
        },
        "brand_country": {
          "attribute_code": "brand_country",
          "value": 630957,
          "input_type": null
        },
        "bulky": {
          "attribute_code": "bulky",
          "value": 0,
          "input_type": null
        },
        "description": {
          "attribute_code": "description",
          "value": "<html>n <head>n  <style>rn#productDetails_techSpec_section_2{width:70%;}rn#prodDetails .prodDetSectionEntry {width: 50%!important;white-space: normal;word-wrap: break-word;}rntable.a-keyvalue th {background-color: #f3f3f3;}rntable.a-keyvalue td, table.a-keyvalue th {padding: 7px 14px 6px;border-top: 1px solid #e7e7e7;}rn#prodDetails th {text-align: left;}rntable.a-keyvalue{border-bottom: 1px solid #e7e7e7;}rn</style>n </head>n <body>n  <div id="prodDetails">n   <table id="productDetails_techSpec_section_2" class="a-keyvalue prodDetTable" role="presentation">n    <tbody>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Item Shape</th>n      <td class="a-size-base">Round</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Display Type</th>n      <td class="a-size-base">Analog</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Case material</th>n      <td class="a-size-base">Metal</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Case diameter</th>n      <td class="a-size-base">37 millimeters</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Band Material</th>n      <td class="a-size-base">metal-alloy</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Band length</th>n      <td class="a-size-base">Women's Standard</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Band width</th>n      <td class="a-size-base">18 millimeters</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Band Color</th>n      <td class="a-size-base">White</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Dial color</th>n      <td class="a-size-base">White</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Bezel material</th>n      <td class="a-size-base">Metal</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Brand, Seller, or Collection Name</th>n      <td class="a-size-base">Disney</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Model number</th>n      <td class="a-size-base">MK2106</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Part Number</th>n      <td class="a-size-base">MK2106</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Case Thickness</th>n      <td class="a-size-base">9.3 millimeters</td>n     </tr>n     <tr>n      <th class="a-color-secondary a-size-base prodDetSectionEntry">Special features</th>n      <td class="a-size-base">includes a seconds-hand</td>n     </tr>n    </tbody>n   </table>n  </div>n  <p></p>n  <p>White bracelet watch featuring rhinestone-accented bezel and mother-of-pearl dial with sparkling Mickey Mouse design</p>n  <p>37-mm metal case with glass dial window</p>n  <p>Quartz movement with analog display</p>n  <p>Metal alloy bracelet with jewelry-clasp closure</p>n  <p>Not water resistant</p>n  <p></p>n  <p>Great timepiece for Disney Mickey Mouse fans! This spray white bracelet watch features round case with clear rhinestone accented, genuine white Mother-Of-Pearl dial, Arabic number 12,3,9 and dots display and jewelry clasp. Cute rhinestone accented Mickey Mouse image on dial. It is also powered by quartz movement that tells you the accurate time. It is casual and fashionable that is nice for everyday wear.</p>n  <p></p>n </body>n</html>",
          "input_type": null
        },
        "list_price": {
          "attribute_code": "list_price",
          "value": 984000,
          "input_type": null
        },
        "meta_description": {
          "attribute_code": "meta_description",
          "value": "#productDetails_techSpec_section_2{width:70%;}rn#prodDetails .prodDetSectionEntry {width: 50%!important;white-space: normal;word-wrap: break-word;}rntable.a-keyvalue th {background-color: #f3f3f3;}rntable.a-keyvalue td, table.a-keyvalue th {padding: 7px...",
          "input_type": null
        },
        "meta_title": {
          "attribute_code": "meta_title",
          "value": "Disney Women's MK2106 Mickey Mouse White Bracelet Watch...",
          "input_type": null
        },
        "name": {
          "attribute_code": "name",
          "value": "Disney Women's MK2106 Mickey Mouse White Bracelet Watch with Rhinestones",
          "input_type": null
        },
        "origin": {
          "attribute_code": "origin",
          "value": 10661,
          "input_type": null
        },
        "price": {
          "attribute_code": "price",
          "value": 984000,
          "input_type": null
        },
        "product_top_features": {
          "attribute_code": "product_top_features",
          "value": "White bracelet watch featuring rhinestone-accented bezel and mother-of-pearl dial with sparkling Mickey Mouse designn37-mm metal case with glass dial windownQuartz movement with analog displaynMetal alloy bracelet with jewelry-clasp closurenNot water resistantn",
          "input_type": null
        },
        "require_expiry_date": {
          "attribute_code": "require_expiry_date",
          "value": 0,
          "input_type": null
        }
      }
    }
  ]
}
  • you can include product information here to get the full information of these product request but maybe the query will be slower.
    products contains product data after transform via TIKI system so maybe you might look a bit strange but we will try to display the data on TIKI as closely as possible to the original data.
  • you can filter by state ( rejected, deleted, approved,… ) for easier access to your own purposes
GET https://api.tiki.vn/integration/v2/requests
GET https://api.tiki.vn/integration/v2/requests?include=products
GET https://api.tiki.vn/integration/v2/requests?state=approved

2. Query a product request by request_id from TIKI system

You can get request_id through TIKI seller center or our latest product request method

GET https://api.tiki.vn/integration/v2/requests/{request_id}

3. Query a product request by track_id from create product request response

GET https://api.tiki.vn/integration/v2/requests/findBy?track_id={track_id}
Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published.