MANGOTEEPRINTS
  1. Schemas
MANGOTEEPRINTS
  • Overview
  • Change log
  • Production Lines
    • List Production Lines
  • Catalog
    • Get Catalogs
    • Get Catalog Detail
  • Products
    • Get Products
    • Get Product Detail
    • Get Product Variations
  • Orders
    • Create Order
    • List Orders
    • Get Order Detail
    • Update Order
    • Delete Order
    • Cancel Order
  • Webhooks
    • Create Webhook
    • List Webhooks
    • Get Webhook
    • Update Webhook
    • Delete Webhook
  • Schemas
    • Schemas
      • ShippingMethod Copy
      • CancelOrderData
      • CancelOrderResponse
      • CatalogsListData
      • CreateOrderResponse
      • FacilityType
      • GenericWebhookRequest
      • GetOrderResponse
      • GetProductionLineResponse
      • HTTPValidationError
      • InsertSchema
      • ListOrdersResponse
      • ListProductionLinesResponse
      • OrderCancelSchema
      • OrderCreateSchema
      • OrderItemResponseSchema
      • OrderItemSchema
      • OrderListData
      • OrderResponseSchema
      • OrderStatus
      • OrderUpdateSchema
      • PaginationInfo
      • PrintFileSchema
      • ProductionLineListData
      • ProductionLineSchema
      • ProductsListData
      • PublicBaseResponse
      • PublicCatalogDetailResponse
      • PublicCatalogResponse
      • PublicCatalogsListResponse
      • PublicProductDetailResponse
      • PublicProductResponse
      • PublicProductsListResponse
      • PublicVariationResponse
      • PublicVariationsListResponse
      • ShippingMethod
      • SpeedType
      • TrackingEventSchema
      • UpdateOrderResponse
      • ValidationError
      • VariationsListData
      • WebhookCreate
      • WebhookEvent
      • WebhookListResponse
      • WebhookUpdate
      • WebhookResponse
      • WebhookResponse
  1. Schemas

OrderListData(OrderListData)

Data structure for order list response.

{
    "items": [
        {
            "address_line_1": "123 Main Street",
            "address_line_2": "Suite 100",
            "box_fee": 0,
            "city": "New York",
            "country": "United States",
            "created_at": "2024-01-01T00:00:00",
            "discount": 0,
            "email": "johndoe@example.com",
            "facility": "TX",
            "first_name": "John",
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "items": [
                {
                    "base_cost": 15.99,
                    "color": "Red",
                    "inserts": [],
                    "item_id": "ITEM001",
                    "preview_files": [],
                    "print_files": [],
                    "product_name": "Classic T-Shirt",
                    "quantity": 1,
                    "size": "L",
                    "sku": "SKU001"
                }
            ],
            "label_url": "https://example.com/label/standard-order.pdf",
            "last_name": "Doe",
            "note": "Please deliver during business hours",
            "order_id": "ORD001",
            "payments": [
                {
                    "amount": 15.99,
                    "id": "550e8400-e29b-41d4-a716-446655440001",
                    "payment_id": "PAY001",
                    "payment_method": "momo",
                    "status": "pending"
                }
            ],
            "phone": "+1-555-123-4567",
            "production_line_id": "PL001",
            "shipping_fee": 0,
            "shipping_method": "standard",
            "state": "NY",
            "status": "new_order",
            "subtotal": 0,
            "tax": 0,
            "total": 0,
            "updated_at": "2024-01-01T00:00:00",
            "user_id": "550e8400-e29b-41d4-a716-446655440001",
            "zip": "10001"
        }
    ],
    "pagination": {
        "limit": 20,
        "page": 1,
        "pages": 5,
        "total": 100
    }
}
Built with