Create Product From Product Inventory
POST
/api/v1/public/products/for-sale
Behavior Notes:
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/public/products/for-sale' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"store": {{store_id}},
"product_inventory": {{id_product_inventory}}
}'
Response Response Example
200 - Success
{"status_code":200,"data":{"product_id":38403,"product_inventory_id":37026},"error":false,"error_code":null,"log_id":null,"messages":"","total":1}
Request
Header Params
Authorization
string
required
Default:
{{your_api_key_here}}
Body Params application/json