GoMake

Gomake API

POST

Get Purchase Orders (Paginated)

Retrieves a paginated list of purchase orders

/api/purchase-orders/list

Request Body

modelobject(required) - Pagination settings (pageNumber, pageSize)
customerIdstring(optional) - Filter by supplier ID (mapped to customerId in filter)
{
  "model": {
    "pageSize": 10,
    "pageNumber": 1
  }
}

Responses

200Purchase orders retrieved successfully
{
  "data": {
    "data": [
      {
        "id": "988b2a91-3b3a-4e5d-b6bf-f5da76325b8a",
        "key": "8817e27b-ddad-420f-b922-c715e4dd9d2e",
        "number": "PO5111",
        "status": 9,
        "isEditable": true,
        "totalPrice": "93.81",
        "itemsNumber": 2,
        "creationDate": "19-01-2026 12:59",
        "supplierName": "mysup5",
        "statusTitleText": "PurchaseOrder.Closed",
        "totalPriceWithoutVat": "79.500"
      }
    ],
    "totalItems": 112,
    "documentStatisticsList": [
      {
        "key": "totalPrice",
        "value": "96.2k"
      }
    ]
  },
  "success": true
}

Example Request

curl -X POST \
  https://api.gomake.net/api/purchase-orders/list \
  -H "Content-Type: application/json" \
  -H "X-Client-Id: your-client-id-here" \
  -H "X-Client-Secret: your-client-secret-here" \
  -d '{
  "model": {
    "pageSize": 10,
    "pageNumber": 1
  }
}'

Note: Replace your-client-id-here and your-client-secret-here with your actual credentials. See the Authentication page for more details.