IntelliTee
IntelliTee · GPT Actions
Prodigi Order API
API for creating orders in the Prodigi system.
POST /v4.0/OrderscreateOrderCreate a new order
Original API schema
{
"openapi": "3.1.0",
"info": {
"title": "Prodigi Order API",
"description": "API for creating orders in the Prodigi system.",
"version": "v0.0.1"
},
"servers": [
{
"url": "https://api.prodigi.com"
}
],
"paths": {
"/v4.0/Orders": {
"post": {
"description": "Create a new order",
"operationId": "createOrder",
"parameters": [],
"requestBody": {
"description": "Order payload",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OrderRequest"
}
}
}
},
"responses": {
"200": {
"description": "Order created successfully"
},
"400": {
"description": "Invalid request"
}
},
"security": [
{
"apiKey": []
}
]
}
}
},
"components": {
"schemas": {
"OrderRequest": {
"type": "object",
"properties": {
"shippingMethod": {
"type": "string",
"enum": [
"Budget",
"Standard",
"Express"
]
},
"recipient": {
"type": "object",
"properties": {
"address": {
"type": "object",
"properties": {
"line1": {
"type": "string"
},
"line2": {
"type": "string"
},
"postalOrZipCode": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"townOrCity": {
"type": "string"
},
"stateOrCounty": {
"type": "string"
}
},
"required": [
"line1",
"postalOrZipCode",
"countryCode",
"townOrCity"
]
},
"name": {
"type": "string"
},
"email": {
"type": "string",
"format": "email"
}
},
"required": [
"address",
"name",
"email"
]
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": {
"type": "string"
},
"copies": {
"type": "integer"
},
"sizing": {
"type": "string"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"printArea": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"printArea",
"url"
]
}
}
},
"required": [
"sku",
"copies",
"sizing",
"assets"
]
}
}
},
"required": [
"shippingMethod",
"recipient",
"items"
]
}
},
"securitySchemes": {
"apiKey": {
"type": "apiKey",
"in": "header",
"name": "X-API-Key"
}
}
}
}