文档中心 > Miravia Open Platform

4. Get Product

更新时间:2024/04/24 访问次数:182

4. GetProduct

Get /v2/product/get

1. Description:

We've made enhancements to the getProduct endpoint to provide you with more flexibility and control when searching for products. This modification introduces additional parameters that allow for a more refined search.

?

Name

Type

Required or not

Description

product_id

Number

No

item id. Example:1357296984086901

seller_skus

String[]

No

sellerSku list. Example:["TESTING_PRODUCT_DECEMBER_467d4d03-4efc-4d78-9569-78971ab02c18"]

max_created_at

Number

No

Latest creation time of the product.Please use a millisecond timestamp. Example: 1704884033000

page_size

Number

No

page size

page

Number

No

page num

extraInfo_filter

String[]

No

only quality_control_log is the extraInfo available

status

String

No

the product status, ALL("all"), LIVE("live"), ACTIVE("live"), INACTIVE("inactive"), DELETED("deleted"), PENDING("pending"), REJECTED("rejected"), SOLD_OUT("sold-out");

Output Json:

GET PRODUCT (with params - page = 5, pageSize = 2, productId = 1357266987014)

{
  "total_product": 1,
  "data": [
    {
      "default_images": [
        "https://fb-es.mrvcdn.com/kf/E0bff2f7c58f04aa5bf49b31f79b2ee6dc.png"
      ],
      "category_id": 62198631,
      "product_id": 1357266987014661,
      "product_category_attribute_fields": {
        "delivery_option_store_pick_up": "1",
        "name": "TESTING_PRODUCT_DECEMBER_e7a295b8-6775-41af-8f18-db7f0e519441",
        "description": "<p style=\"line-height: 1.7;text-align: left;text-indent: 0;margin-left: 0;margin-top: 0;margin-bottom: 0;\"><span>Description example test</span></p>",
        "source": "asc",
        "delivery_option_sof": "1",
        "brand": "No Brand"
      },
      "custom_sku_category_attribute_fields": {},
      "sku_data": [
        {
          "sku_category_attribute_fields": {
            "size": "40",
            "sizeGroup": "other"
          },
          "quantity": 42,
          "sale_price": 94,
          "package_width": 12,
          "extra_info": {},
          "package_height": 13,
          "sku_images": [
            "https://fb-es.mrvcdn.com/kf/E0bff2f7c58f04aa5bf49b31f79b2ee6dc.png"
          ],
          "price": 100,
          "package_length": 10,
          "seller_sku": "TESTING_PRODUCT_DECEMBER_aeacd57f-ad5b-415a-8c45-f9ed6942f63c",
          "package_weight": 11,
          "warehouse_quantities": [
            {
              "quantity": 42,
              "warehouse_code": "dropshipping"
            }
          ],
          "status": "INACTIVE"
        }
      ],
      "status": "InActive"
    }
  ],
  "total_page": 1,
  "page": 1,
  "errors": [],
  "page_size": 1,
  "code": "0",
  "request_id": "210399f217036777313173435"
}


FAQ

关于此文档暂时还没有FAQ
返回
顶部