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>"
}Add products to a price book by copying their default price configurations.
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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Product IDs to add.
List of product IDs to add to the price book.
Products added to price book.
Was this page helpful?