Get a photo of one of the Seller's Return Requests
شرح نقطههای پایانی در مرجع API به انگلیسی است؛ واژهها و قالبها همان است که در پاسخها میبینید.
نمونهها نشانی محیط اصلی را دارند، اما «امتحان کنید» همان درخواست را فقط به محیط آزمایشی میفرستد. کلید محرمانه شما نه در این سایت ذخیره میشود و نه در گزارشهای آن میآید.
Returns one photo of the Return Request, a JPEG or a PNG, as the photo's Rendition: large, within 1600×1600 pixels, or thumbnail, within 400×400. It is private, so the answer's Cache-Control is private, no-store and it carries no ETag. A photo the caller may not see, or one the request doesn't hold, is 404 RETURN_PHOTO_NOT_FOUND. The Seller sees the Buyer's photos of the problem and its own of returned items. 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.
oauth2AuthorizationBearer <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.
returnRequestId*stringThe id of the Return Request.
uuidmediaId*stringThe id of the photo's Media.
uuidrendition*stringWhich Rendition: large or thumbnail.
"large""thumbnail"The photo's bytes.
response?filebinarycurl -X GET 'https://api.chasbi.com/v1/me/seller/return-requests/497f6eca-6276-4993-bfeb-53cbbbba6f08/photos/497f6eca-6276-4993-bfeb-53cbbbba6f08/large'"string"