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

Count the caller's Seller's Return Requests

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

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

GET
/v1/me/seller/return-requests/counts

Returns how many of the Seller's Return Requests each tab holds, and how many wait for it. The call needs a token of the chasbi realm whose Account holds the Seller power ORDERS: the owner, or a Seller Member with the role MANAGER or ORDERS; or an access token of the chasbi-partners realm for an API Key of the Seller with the role MANAGER or ORDERS. 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 Return Requests each tab holds.

atChasbi*integer

«در بررسی چسبی».

قالبint64
closed*integer

«بسته‌شده».

قالبint64
posted*integer

«در راه بازگشت».

قالبint64
toAnswer*integer

«منتظر پاسخ شما».

قالبint64
toBePosted*integer

«منتظر ارسال خریدار».

قالبint64
toSendBack*integer

«ارسال به خریدار».

قالبint64
waiting*integer

Requests waiting for the Seller.

قالبint64
نمونه درخواست
curl -X GET 'https://api.chasbi.com/v1/me/seller/return-requests/counts'
نمونه پاسخ
{  "atChasbi": 0,  "closed": 0,  "posted": 0,  "toAnswer": 0,  "toBePosted": 0,  "toSendBack": 0,  "waiting": 0}