Input Schema
{
"bodyFields": {
"address_to": {
"additionalProperties": false,
"properties": {
"address1": {
"minLength": 1,
"type": "string"
},
"address2": {
"default": "",
"type": "string"
},
"city": {
"minLength": 1,
"type": "string"
},
"country": {
"pattern": "^[A-Z]{2}$",
"type": "string"
},
"email": {
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"type": "string"
},
"first_name": {
"minLength": 1,
"type": "string"
},
"last_name": {
"minLength": 1,
"type": "string"
},
"phone": {
"anyOf": [
{
"maxLength": 32,
"minLength": 3,
"type": "string"
},
{
"const": "",
"type": "string"
}
]
},
"region": {
"default": "",
"type": "string"
},
"zip": {
"minLength": 1,
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"email",
"country",
"region",
"address1",
"address2",
"city",
"zip"
],
"type": "object"
},
"color": {
"default": "White",
"enum": [
"Black",
"White"
],
"type": "string"
},
"prompt": {
"maxLength": 4000,
"minLength": 10,
"type": "string"
},
"size": {
"default": "XL",
"enum": [
"S",
"M",
"L",
"XL",
"2XL",
"3XL",
"4XL",
"5XL"
],
"type": "string"
}
},
"bodyType": "json",
"discoverable": true,
"method": "POST",
"type": "http"
}
Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"imageUrl": {
"description": "HTTP/HTTPS URL or base64 data URL (data:image/...)",
"type": "string"
},
"orderId": {
"type": "string"
},
"productId": {
"type": "string"
},
"status": {
"enum": [
"queued",
"processing",
"failed",
"completed"
],
"type": "string"
},
"trackingInfo": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"carrier": {
"type": "string"
},
"trackingNumber": {
"type": "string"
},
"trackingUrl": {
"type": "string"
}
},
"required": [
"carrier",
"trackingNumber",
"trackingUrl"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"status"
],
"type": "object"
}