InventoryProducts

Copy an Inventory Product

This endpoint copies an existing inventory product by ID.

post/inventory/products/{productId}/copy

Request body

namestring required

Name to give the duplicated inventory product. Typically the source product's name with a "(copy)" suffix. Trimmed; 1-120 characters and must not contain HTML.

Example request

{
  "name": "Blissful Body Butter"
}

Response

The inventory product was successfully retrieved

Example response

{
  "data": {
    "name": "Blissful Body Butter",
    "description": "A rich, creamy body butter which deeply nourishes the skin, with essential oils.",
    "sku": "BB-001",
    "average_cost": 1000,
    "currency": "gbp",
    "reorder_level": 10,
    "stock_level": 50.5,
    "stock_value": 5000,
    "brand": {
      "name": "L'Oréal"
    },
    "category": {
      "name": "Massage oils"
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.