Gelato Orders API

The Orders API from Gelato — 5 operation(s) for orders.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Order Fulfilment Management BC-520.40

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v4/orders Place a print-on-demand order · Create order #
Ask an LLM
“How do I place a new order with Gelato for fulfillment?”
“Can I set my own internal order and customer reference IDs?”
Tell an agent
Create a {orderType} order {orderReferenceId} for customer {customerReferenceId} with items {items} and shipping address {shippingAddress}.
Place order {orderReferenceId} for {customerReferenceId} shipping {shippingAddress} with {items}.
POST /v4/orders:search Search orders by status, date or country · Search orders #
Ask an LLM
“Which of my orders have not been fulfilled yet?”
“Can I find orders placed in a specific country within a date range?”
Tell an agent
Search my orders with financial status {financialStatuses}.
Find orders placed between {startDate} and {endDate} in countries {countries}.
POST /v4/orders:quote Get a quote for products to a recipient · Quote order #
Ask an LLM
“How much will it cost to ship these products to a recipient?”
“What shipment methods are available for a set of products?”
Tell an agent
Quote order {orderReferenceId} for customer {customerReferenceId} to {recipient} with products {products}.
Get a price quote for {products} to {recipient} in {currency}.
GET /v4/orders/{orderId} Get an order's full details · Get order #
Ask an LLM
“What are the full details of a specific order?”
“Can I look up one order by its order id?”
Tell an agent
Get order {orderId}.
Show the full details of order {orderId}.
PATCH /v4/orders/{orderId} Convert a draft order into a regular order · Patch draft order #
Ask an LLM
“How do I convert a draft order into a regular order?”
“Can I change a draft order's type when finalizing it?”
Tell an agent
Convert draft order {orderId} into a regular order.
Finalize draft order {orderId} with type {orderType}.
POST /v4/orders/{orderId}:cancel Cancel an order before production · Cancel order #
Ask an LLM
“Can I cancel an order that hasn't gone into production yet?”
“What happens to an order once it is canceled?”
Tell an agent destructive · confirm first
Cancel order {orderId}.
Cancel order {orderId} before it moves into production.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gelato:gelato-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gelato-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gelato Orders API
  description: 'Specification of the Gelato print-on-demand API. Gelato exposes REST endpoints across dedicated subdomains: Orders (order.gelatoapis.com), Product Catalog and Prices/Stock (product.gelatoapis.com), Shipment (shipment.gelatoapis.com), and Ecommerce store products and templates (ecommerce.gelatoapis.com). All requests must be made over HTTPS and are authenticated with an API key passed in the X-API-KEY header.'
  termsOfService: https://www.gelato.com/legal
  contact:
    name: Gelato Support
    url: https://dashboard.gelato.com/docs/
  version: '1.0'
servers:
- url: https://order.gelatoapis.com
  description: Orders API
- url: https://product.gelatoapis.com
  description: Product Catalog, Prices and Stock API
- url: https://shipment.gelatoapis.com
  description: Shipment API
- url: https://ecommerce.gelatoapis.com
  description: Ecommerce API
security:
- api_key: []
tags:
- name: Orders
paths:
  /v4/orders:
    post:
      operationId: createOrder
      tags:
      - Orders
      summary: Create order
      description: Creates a new order for fulfillment. Supports order and draft order types, with one or more items, recipient details, and optional shipment method.
      servers:
      - url: https://order.gelatoapis.com
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrderRequest'
      responses:
        '200':
          description: The created order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
        4XX:
          description: Client error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v4/orders:search:
    post:
      operationId: searchOrders
      tags:
      - Orders
      summary: Search orders
      description: Searches orders by criteria such as channels, countries, currencies, financial and fulfillment statuses, order types, and date range, with pagination.
      servers:
      - url: https://order.gelatoapis.com
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchOrdersRequest'
      responses:
        '200':
          description: A page of orders matching the search criteria.
          content:
            application/json:
              schema:
                type: object
                properties:
                  orders:
                    type: array
                    items:
                      $ref: '#/components/schemas/Order'
  /v4/orders:quote:
    post:
      operationId: quoteOrder
      tags:
      - Orders
      summary: Quote order
      description: Returns one or more quotes for a set of products to a given recipient, including available shipment methods and prices, before an order is placed.
      servers:
      - url: https://order.gelatoapis.com
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteOrderRequest'
      responses:
        '200':
          description: Quotes for the requested products and recipient.
  /v4/orders/{orderId}:
    get:
      operationId: getOrder
      tags:
      - Orders
      summary: Get order
      description: Retrieves the full details of a single order by its Gelato order id.
      servers:
      - url: https://order.gelatoapis.com
      parameters:
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The requested order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
    patch:
      operationId: patchDraftOrder
      tags:
      - Orders
      summary: Patch draft order
      description: Converts a draft order into a regular order. Only orders with orderType equal to draft can be patched.
      servers:
      - url: https://order.gelatoapis.com
      parameters:
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderType:
                  type: string
                  enum:
                  - order
      responses:
        '200':
          description: The patched order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
  /v4/orders/{orderId}:cancel:
    post:
      operationId: cancelOrder
      tags:
      - Orders
      summary: Cancel order
      description: Cancels an order. An order can only be canceled before it moves into production.
      servers:
      - url: https://order.gelatoapis.com
      parameters:
      - name: orderId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The order was canceled.
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          type:
          - string
          - 'null'
        message:
          type: string
    OrderItem:
      type: object
      properties:
        itemReferenceId:
          type: string
        productUid:
          type: string
        files:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              url:
                type: string
        quantity:
          type: integer
    ShippingAddress:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        companyName:
          type: string
        addressLine1:
          type: string
        addressLine2:
          type: string
        city:
          type: string
        postCode:
          type: string
        state:
          type: string
        country:
          type: string
          description: Two-character ISO country code.
        email:
          type: string
        phone:
          type: string
    QuoteOrderRequest:
      type: object
      required:
      - orderReferenceId
      - customerReferenceId
      - recipient
      - products
      properties:
        orderReferenceId:
          type: string
        customerReferenceId:
          type: string
        currency:
          type: string
        recipient:
          $ref: '#/components/schemas/ShippingAddress'
        products:
          type: array
          items:
            type: object
            properties:
              itemReferenceId:
                type: string
              productUid:
                type: string
              quantity:
                type: integer
    Order:
      type: object
      properties:
        id:
          type: string
        orderType:
          type: string
        orderReferenceId:
          type: string
        customerReferenceId:
          type: string
        fulfillmentStatus:
          type: string
        financialStatus:
          type: string
        currency:
          type: string
        channel:
          type: string
        createdAt:
          type: string
          format: date-time
        items:
          type: array
          items:
            $ref: '#/components/schemas/OrderItem'
        shipment:
          type: object
          properties:
            shipmentMethodUid:
              type: string
            shipmentMethodName:
              type: string
            minDeliveryDays:
              type: integer
            maxDeliveryDays:
              type: integer
    CreateOrderRequest:
      type: object
      required:
      - orderReferenceId
      - customerReferenceId
      - items
      - shippingAddress
      properties:
        orderType:
          type: string
          enum:
          - order
          - draft
          default: order
        orderReferenceId:
          type: string
          description: Your internal order id.
        customerReferenceId:
          type: string
          description: Your internal customer id.
        currency:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/OrderItem'
        shipmentMethodUid:
          type: string
        shippingAddress:
          $ref: '#/components/schemas/ShippingAddress'
    SearchOrdersRequest:
      type: object
      properties:
        channels:
          type: array
          items:
            type: string
        countries:
          type: array
          items:
            type: string
        currencies:
          type: array
          items:
            type: string
        financialStatuses:
          type: array
          items:
            type: string
        fulfillmentStatuses:
          type: array
          items:
            type: string
        orderTypes:
          type: array
          items:
            type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        limit:
          type: integer
        offset:
          type: integer
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Gelato API key passed in the X-API-KEY header on every request. All requests must be made over HTTPS.