SellAuth

Images

Get Images

Retrieves the images.

GET
/v1/shops/{shopId}/images

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/images" \
  -H "Authorization: Bearer <token>"

{
  "message": "No query results for model [App\\Models\\Shop] 1"
}

Create Image

Uploads an image.

POST
/v1/shops/{shopId}/images

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

multipart/form-dataOptional
imagefile

Must be an image. Must not be greater than 20480 kilobytes.

Format: "binary"

Path Parameters

shopIdRequiredinteger
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/images" \
  -H "Authorization: Bearer <token>" \
  -F image="string"

Delete Image

Deletes an image.

DELETE
/v1/shops/{shopId}/images/{imageId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger
imageIdRequiredstring
curl -X DELETE "https://api.sellauth.com/v1/shops/{shopId}/images/et" \
  -H "Authorization: Bearer <token>"