Logo
⌘K

Send Order to Production

Send an order in status PendingFulfillmentAction to production with Standard shipping, the same as approving it in the Artelo application. The order moves to Received.The order must be paid, its address must not need review, it must have at least one item that isn't ignored, and every item that isn't ignored must have a product with all of its designs. Every design image must have finished processing: the request answers 409 while images are still processing, and 400 naming the order item and design if an image failed to process.
Parameters

orderId

string

Required

Unique id of the order to send to production.
Returns

The Order after the send.

POST

/orders/send-to-production

curl -X POST 'https://www.artelo.com/api/open/orders/send-to-production' \
  -H 'Authorization: Bearer your-token' \
  -d '{
    "orderId": "d310e238-1cef-49c8-bb63-2e93a06badb4"
  }'
Response
{
  "createdAt": "2024-09-30T13:56:29.057Z",
  "channelName": null,
  "companyName": null,
  "customerAddress": {
    "company": "Acme Inc.",
    "city": "Miami",
    "countryCode": "US",
    "id": "address-id",
    "name": "John Doe",
    "phone": "+15551234567",
    "state": "Florida",
    "email": "john@doe.com",
    "street1": "No 1 rosbridge street",
    "street2": "#123",
    "tin": "",
    "zipcode": "900110"
  },
  "details": {
    "amountRefunded": 0,
    "arteloShipping": 10,
    "branding": 1,
    "giftMessage": 1,
    "wholesaleDiscount": 0,
    "gst": 1,
    "hst": 1,
    "packaging": 0,
    "productionCost": 5,
    "pst": 1,
    "usSalesTax": 0
  },
  "giftMessage": {
    "font": "Script",
    "message": "Congratulations on your first home! Wishing you many happy years there.\n- Sarah, Coastal Realty"
  },
  "id": "de14efbe-daec-4e2d-b967-80ca9a5f9c17",
  "insertPlacement": "PerOrder",
  "insertId": "b1e38b9-442c-41bc-a849-32929a879537",
  "instructions": "Handle it with care",
  "orderId": "this-is-the-order",
  "orderItems": [
    {
      "arteloProductId": "a63d3478-9401-4046-9057-40abdabdc8ef",
      "id": "5f0c2d8e-7b1a-4c3e-9d2f-6a8b1e4c7d90",
      "orderItemId": "item-001",
      "isPersonalizable": false,
      "productionStatus": null,
      "details": {
        "amountRefunded": 0,
        "arteloShipping": 10,
        "branding": 1,
        "giftMessage": 0,
        "wholesaleDiscount": 0,
        "gst": 1,
        "hst": 1,
        "packaging": 0,
        "productionCost": 5,
        "pst": 1,
        "usSalesTax": 0
      },
      "product": {
        "catalogProductId": "IndividualArtPrint",
        "frameColor": "BlackMetal",
        "frameStyle": "Metal",
        "includeFramingService": true,
        "includeHangingPins": true,
        "includeMats": true,
        "orientation": "Horizontal",
        "packagingType": "Standard",
        "paperStyle": "FineArt",
        "paperType": "ArchivalMatteFineArt",
        "size": "x10x10"
      },
      "quantity": 10
    }
  ],
  "productionStatus": "Received",
  "shipments": [],
  "shippingStatus": "Shipping Pending",
  "status": "Received",
  "stickerPlacement": "PerUnit",
  "stickerId": "e7e38b9-442c-41bc-a849-32929a879537"
}