Back to Aligni.com

POST /api/v2/:api_token/quote
Create a new quote.

Create a new quote.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<quote>
  <part_id>728</part_id>
  <unit_id>2</unit_id>
  <vendor_id>147</vendor_id>
  <currency_id>USD</currency_id>
  <price>0.01</price>
  <quantity_min>4000</quantity_min>
  <quantity_mult>4000</quantity_mult>
  <leadtime>2</leadtime>
  <valid_for>30</valid_for>
</quote>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/quote

# no response

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String

DELETE /api/v2/:api_token/quote/:id
Delete a quote.

Delete a quote by its id.

Examples

# request
curl -X DELETE -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/quote/174

# no response

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.