Skip to main content
POST
/
v1
/
price-books
/
{id}
/
products
Add products to price book
curl --request POST \
  --url https://api.hyperline.co/v1/price-books/{id}/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_ids": [
    "<string>"
  ]
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Product IDs to add.

product_ids
string[]
required

List of product IDs to add to the price book.

Response

Products added to price book.