Create Line item
1 min
POST
https://api.fictive.com/REST/api/carts/{cartReference}/line-items
cartReferencestring
X-TokenIdstringThe eSuite Token Id
X-SessionIdstringThe eSuite Session Id
X-VersionstringThe eSuite Version
OriginstringThe eSuite Origin
cartLineItemobjectCart Line Item
201Include resource location URI will be included in the response
400Null or empty description
401API Authentication Failure: Invalid Authentication Type/Credentials Provided
403Cannot amend or delete a cart that has been purchased
404PriceId cannot be found
409Net and Tax amount do not equate to the Gross amount
412'Custom Parameter Name' not configured (The parameter name will replace the 'Custom Parameter Name' in the error message
curl --request POST \
--url https://api.fictive.com/REST/api/carts/{cartReference}/line-items \
--header 'accept: application/json' \
--header 'x-version: string'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.