v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Product

Create parts v2

Creates new parts for a product.

post/api/v2/products/{id}/parts

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

amountnumber float required

Sets the amount for how many times the product is included

type'shopping part' | 'information part / service' | 'provision'

Type of the part, if not provided, the default 'shopping part' will be set.

referencestring

Reference for the part.

Example request

[
  {
    "part": {
      "id": "1337"
    },
    "amount": 3.5,
    "type": "provision",
    "reference": "REF-12345"
  }
]

Response

Resource successfully created response