Create a Product
This endpoint allows you to create a product.
post/v1/products
Request
- Base URLhttps://api.hit-pay.com
- URLhttps://api.hit-pay.com/v1/products
- Authnone declared. Required headers: X-BUSINESS-API-KEY
Headers
X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d
Request body multipart/form-data
Example request
{
"name": "Product Beanie",
"description": "<p>Stylish hat suitable for the winter.</p>",
"barcode": "1234567890128",
"headline": "Stylish hat suitable for the winter.",
"stock_keeping_unit": "SKU123456",
"currency": "sgd",
"price": 15,
"category_ids": [
"9a12fab0-d282-4437-9460-c3d26662d11a"
],
"location_ids": [
"9a12fab4-d112-48af-9d6b-050d650b0a25"
],
"locations": [
{
"id": "9a12fab4-d112-48af-9d6b-050d650b0a25"
}
],
"product_weight": 250
}Response
201
Changes
No recorded changes to this operation across all 8 revisions of this API.