E-Ticaret

pos

6 endpoints · /api/shop/v1/pos

Request examples are generated from each endpoint's REAL method and path. 6 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/shop/v1/admin/pos/registers

List registers

Oturum
İstek
curl -X GET "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/registers" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/admin/pos/registers

Create register

Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/registers" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/admin/pos/sales/{sale_id}/refund

İade → komisyon geri-alma (admin).

OturumYol parametresi: sale_id
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/sales/<sale_id>/refund" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/admin/pos/shifts

Open shift

Oturum
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/shifts" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/admin/pos/shifts/{shift_id}/checkout

Checkout

OturumYol parametresi: shift_id
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/shifts/<shift_id>/checkout" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/shop/v1/admin/pos/shifts/{shift_id}/close

Close

OturumYol parametresi: shift_id
İstek
curl -X POST "https://{slug}.shop.blesyum.app/api/shop/v1/admin/pos/shifts/<shift_id>/close" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?