add-to-cart
Add products to your shopping cart on Terminal.shop by specifying the product variant ID and desired quantity, enabling streamlined order management through API integration.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
productVariantID | Yes | ||
quantity | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"productVariantID": {
"type": "string"
},
"quantity": {
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"productVariantID",
"quantity"
],
"type": "object"
}