UploadOrderReturnAttachments
Type: schema
TypeScript Definition
typescript
UploadOrderReturnAttachments: {{
/** @description JPG, JPEG, PNG, GIF or WebP, up to 10 MB each. The return can hold at most five images. */
images: string[];
/** @description MP4 or WebM, up to 40 MB each. The return can hold at most two videos. */
videos?: string[];
} | {
/** @description JPG, JPEG, PNG, GIF or WebP, up to 10 MB each. The return can hold at most five images. */
images?: string[];
/** @description MP4 or WebM, up to 40 MB each. The return can hold at most two videos. */
videos: string[];
};
/** User */
}OpenAPI Schema
json
{
"title": "UploadOrderReturnAttachments",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/UploadOrderReturnAttachments",
"description": "API reference for the UploadOrderReturnAttachments schema"
},
"anyOf": [
{
"type": "object",
"properties": {
"images": {
"description": "JPG, JPEG, PNG, GIF or WebP, up to 10 MB each. The return can hold at most five images.",
"type": "array",
"items": {
"type": "string",
"format": "binary"
},
"maxItems": 5,
"minItems": 1
},
"videos": {
"description": "MP4 or WebM, up to 40 MB each. The return can hold at most two videos.",
"type": "array",
"items": {
"type": "string",
"format": "binary"
},
"maxItems": 2,
"minItems": 1
}
},
"required": [
"images"
]
},
{
"type": "object",
"properties": {
"images": {
"description": "JPG, JPEG, PNG, GIF or WebP, up to 10 MB each. The return can hold at most five images.",
"type": "array",
"items": {
"type": "string",
"format": "binary"
},
"maxItems": 5,
"minItems": 1
},
"videos": {
"description": "MP4 or WebM, up to 40 MB each. The return can hold at most two videos.",
"type": "array",
"items": {
"type": "string",
"format": "binary"
},
"maxItems": 2,
"minItems": 1
}
},
"required": [
"videos"
]
}
]
}Auto-generated from OpenAPI spec and TypeScript definitions