PartialCollectAndDelivery
Type: schema
TypeScript Definition
typescript
PartialCollectAndDelivery: {{
/** @constant */
fulfillment_type: "partial-collect-and-delivery";
"collect-in-store": {
pickup_location_id?: string;
items?: components["schemas"]["FulfillmentItem"][];
};
delivery: {
shipping_provider_id: string | null;
readonly shipping_provider_name: string | null;
courier_company_id?: string | null;
readonly courier_company_name?: string | null;
items: components["schemas"]["FulfillmentItem"][];
};
};
/** Shipment */
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["FulfillmentItem"] | FulfillmentItem |
OpenAPI Schema
json
{
"type": "object",
"properties": {
"fulfillment_type": {
"type": "string",
"const": "partial-collect-and-delivery"
},
"collect-in-store": {
"type": "object",
"properties": {
"pickup_location_id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FulfillmentItem"
}
}
}
},
"delivery": {
"type": "object",
"properties": {
"shipping_provider_id": {
"type": [
"string",
"null"
]
},
"shipping_provider_name": {
"type": [
"string",
"null"
],
"readOnly": true
},
"courier_company_id": {
"type": [
"string",
"null"
]
},
"courier_company_name": {
"type": [
"string",
"null"
],
"readOnly": true
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FulfillmentItem"
}
}
},
"required": [
"shipping_provider_id",
"shipping_provider_name",
"items"
]
}
},
"required": [
"fulfillment_type",
"collect-in-store",
"delivery"
],
"title": "PartialCollectAndDelivery"
}Auto-generated from OpenAPI spec and TypeScript definitions