Product Pricing


The Price resource allows you to define pricing for the products in your catalog.

Add a Price to a Product

POST/products/prices

curl -X POST https://api.pilon.io/products/prices \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json" \
     -d $'{
		  "currency": "string",
		  "qty": "string",
		  "amount": "string",
		  "attributes": "string"
		}'

Retrieve a Price

GET/products/prices/{id}

curl -X GET https://api.pilon.io/products/prices/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"

Update a Price

PUT/products/prices/{id}

curl -X PUT https://api.pilon.io/products/prices/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json" \
     -d $'{
		  "currency": "string",
		  "qty": "string",
		  "amount": "string",
		  "attributes": "string"
		}'

Delete a Price

DELETE/products/prices/{id}

curl -X DELETE https://api.pilon.io/products/prices/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"