Authentication and token generation
Pigz Integrator (1.1.0)
The Pigz Integrator API allows third-party systems (such as POS systems or order platforms) to receive and manage orders from Pigz.
It is designed to integrate Pigz orders into Point of Sale (POS) systems or online ordering platforms.
Through this API, you can query new or canceled orders and update each order’s status according to the store’s operational flow.
- A customer places an order on Pigz.
- The partner POS system periodically fetches orders via the
Poolingendpoint. - Once the order reaches the POS, it should confirm receipt using the
Change Stage Orderendpoint (stage =knownorintegrated). - The POS then updates the order status through its lifecycle until it is delivered, picked up, or canceled.
This communication ensures synchronization between Pigz and partner systems.
https://docs.pigz.dev/_mock/openapi/
https://integrador.pigz.dev/
https://integrador.pigz.com.br/
- Mock server
https://docs.pigz.dev/_mock/openapi/pooling
https://integrador.pigz.dev/pooling
https://integrador.pigz.com.br/pooling
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.pigz.dev/_mock/openapi/pooling \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'[ { "codigo": 1234, "dataHora": "2025-08-26T12:34:56Z", "cliente": { … }, "itens": [ … ], "pagamentos": [ … ], "pagamento": { … }, "status": "confirmed", "tipoEntrega": "delivery" } ]
Request
Updates the status of an order.
Requires a valid Bearer Token.
integradoorconhecido: order received by the POSconfirmado: order accepted by the storedespachado: order sent out for deliveryprontoRetirada: order ready for in-store pickupentregue: order delivered to the customercancelado: order canceled
⚠️ Important: Do not mark an order as delivered and then attempt to cancel it afterward.
- Mock server
https://docs.pigz.dev/_mock/openapi/order/{id}/{stage}
https://integrador.pigz.dev/order/{id}/{stage}
https://integrador.pigz.com.br/order/{id}/{stage}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.pigz.dev/_mock/openapi/order/3105/conhecido \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "message": "Altered Stage", "time": 959804400 }