Hosted tool

Store orders

Coming

Read records from your authorized Shopify store.

commerce.ordersversion 1

Price

0.01

credits per call

Compute only: upstream charges are not included in this price.

Availability

Coming

Published in the catalog, not yet callable.

Access

Coming

Category E-commerce

Input

{
  "additionalProperties": false,
  "properties": {
    "store": {
      "maxLength": 253,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "store"
  ],
  "type": "object"
}

Result

array<{id:string,status:string,items:array}>

Default fields: id status items

Limits

Synchronous deadline15 s
Maximum result65,536 bytes
Result pages1
Maximum upstream read1,048,576 bytes

Example call

Provisional: the invoke contract ships with the execution lane

curl https://haidercode.ai/v1/tools/commerce.orders/invoke \
  -H "Authorization: Bearer <HK_KEY>" \
  -H "Content-Type: application/json" \
  -H 'Idempotency-Key: orders-1' \
  -d '{"arguments":{"store":"…"},"max_credits":"0.05"}'

Bound every paid call with max_credits, and repeat the same Idempotency-Key to recover a result rather than pay twice.

commerce

Back to the list