رفتن به محتوا
چسبیتوسعه‌دهندگان
تسویه حساب

Count the Seller's paid Shipments by tab

شرح نقطه‌های پایانی در مرجع API به انگلیسی است؛ واژه‌ها و قالب‌ها همان است که در پاسخ‌ها می‌بینید.

نمونه‌ها نشانی محیط اصلی را دارند، اما «امتحان کنید» همان درخواست را فقط به محیط آزمایشی می‌فرستد. کلید محرمانه شما نه در این سایت ذخیره می‌شود و نه در گزارش‌های آن می‌آید.

GET
/v1/me/seller/settlement/shipments/counts

Returns how many of the caller's paid Shipments each tab holds. The call needs a token of the chasbi realm whose Account holds the Seller power FINANCE: the owner, or a Seller Member with the role MANAGER or FINANCE; or an access token of the chasbi-partners realm for an API Key of the Seller with the role MANAGER or FINANCE. Any other token is refused with ACCESS_DENIED.

احراز هویت

oauth2
headerAuthorizationBearer <token>

An access token of the chasbi-partners realm, made by the client-credentials grant with an API Key's client id and secret in the Authorization: Basic header. It lives five minutes and comes with no refresh token: ask for a new one when it ends.

بدنه پاسخ

The counts.

application/json
  1. response

How many of the Seller's paid Shipments each tab holds.

cameBack*integer

CAME_BACK.

قالبint32
cancelled*integer

CANCELLED.

قالبint32
held*integer

HELD.

قالبint32
inTransfer*integer

IN_TRANSFER.

قالبint32
paid*integer

PAID.

قالبint32
payable*integer

PAYABLE.

قالبint32
waiting*integer

WAITING.

قالبint32
نمونه درخواست
curl -X GET 'https://api.chasbi.com/v1/me/seller/settlement/shipments/counts'
نمونه پاسخ
{  "cameBack": 0,  "cancelled": 0,  "held": 0,  "inTransfer": 0,  "paid": 0,  "payable": 0,  "waiting": 0}