Get Product Part

GET/products/:productId/parts/:productPartId

Get product

Param Type Default Description
productId Stri hash id or slug

Get Product Parts

POST/products/:productId/parts

Get product parts

Param Type Default Description
page Int 1 page
productId String product id hash
limit Int 10 limit
sortFilter Object
sortFilter.label String sorting options: Most Popular
sortFilter.type popular
sortFilter.value Int Direction, 1-ASC, -1-DSC

Example request body

{
  "params": {
    "page": 1,
    "limit": 24,
    "categoriesCount": true,
    "categoriesToFilter": [],
    "facetsToFilter": {},
    "sortFilter": {
      "label": "Most Popular",
      "value": -1,
      "type": "popular"
    },
    "showPriceRange": true
  }
}

Create Product Part

POST/products/:productId/parts

Create product part

Body Type Default Description
partGroup String 1 A numeric identifier grouping mutually exclusive parts together. When configuring data, always start with part group “1” code
colors String[]


The name of the imprint color

partId String The partId
partDescription String A description of the partId

Example request body

{
  "partGroup": "1",
  "colors": [
    {
      "name": "black",
      "hex": ""
    }
  ],
  "compress": true,
  "mediaList": [],
  "charge_prices": [],
  "pricing": [],
  "shippingPackages": [],
  "dimension": {
    "weight": null,
    "width": null,
    "height": null,
    "depth": null
  },
  "inventory": {
    "partInventories": []
  },
  "defaultPart": false,
  "partId": "984927",
  "partDescription": "Duralast Brake Poster (English)"
}

Edit Product Part

PUT/products/:productId/parts/:productPartId

Create products

Body Type Default Description
supplierCode String supplier code
supplierId String supplier hash id
status String not active active
descriptions String[] list of descrition
slug String unique product slug
productId String product id
productName String product name
fobPoints String[] list of fobs
facets String[] list of facets

Example request body

{
  "partId": "new part id"
}

Delete Product Part

DELETE/products/:productId/parts/:productPartId

Remove product part

Body Type Default Description
productId String product id hash code
productPartId String part hash id

Ready to run all of promo in one place?

See how MPower replaces your disconnected tools with one platform — from the first lead to the final shipment.

No credit card required.

Download

Never miss a beat. Download our app and work on the go with all the same features as our desktop application.

Powered by MPower PromoPlatform privacy