{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Cart_Line_Item_Update_Put",
"title": "Cart_Line_Item_Update_Put",
"type": "object",
"x-internal": false,
"properties": {
"line_item": {
"oneOf": [
{
"$ref": "#/components/schemas/cart_PostVariant"
},
{
"$ref": "#/components/schemas/cart_PostModifier"
}
]
},
"gift_certificates": {
"type": "array",
"items": {
"type": "object",
"title": "Line Item Gift Certificate Request Data",
"properties": {
"name": {
"type": "string",
"description": "Given name for a gift certificate line item."
},
"theme": {
"type": "string",
"description": "The theme of the gift certificate.",
"enum": [
"birthday.html",
"boy.html",
"celebration.html",
"christmas.html",
"general.html",
"girl.html"
]
},
"amount": {
"type": "number",
"minimum": 1,
"maximum": 1000
},
"quantity": {
"type": "integer",
"minimum": 1
},
"sender": {
"title": "Contact Entity",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"recipient": {
"title": "Contact Entity",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"message": {
"type": "string",
"maxLength": 200,
"description": "Message shown to recipient, as provided by sender."
}
},
"required": [
"name",
"theme",
"amount",
"quantity",
"sender",
"recipient"
]
}
},
"custom_items": {
"$ref": "#/components/schemas/cart_PostCustomItem"
}
}
}