SellAuth

Groups

Get Groups

Retrieves the groups.

GET
/v1/shops/{shopId}/groups

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}/groups" \
  -H "Authorization: Bearer <token>"

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

Create Group

Creates a new group.

POST
/v1/shops/{shopId}/groups

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Request Body

application/jsonRequired
nameRequiredstring
image_idstring
visibilityRequiredstring
Value in: "public" | "unlisted" | "private"
productsobject
badge_colorstring
badge_textstring

Path Parameters

shopIdRequiredinteger
curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/groups" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "molestias",
    "image_id": null,
    "visibility": "private",
    "products": null,
    "badge_color": null,
    "badge_text": null
  }'

Get Group

Retrieves a specific group.

GET
/v1/shops/{shopId}/groups/{groupId}

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Path Parameters

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

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

Delete Group

Deletes a specific group.

DELETE
/v1/shops/{shopId}/groups/{groupId}

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Path Parameters

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

Update Group

Updates a specific group.

PUT
/v1/shops/{shopId}/groups/{groupId}/update

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Request Body

application/jsonRequired
nameRequiredstring
image_idstring
visibilityRequiredstring
Value in: "public" | "unlisted" | "private"
productsobject
badge_colorstring
badge_textstring

Path Parameters

shopIdRequiredinteger
groupIdRequiredstring
curl -X PUT "https://api.sellauth.com/v1/shops/{shopId}/groups/aliquid/update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "laboriosam",
    "image_id": null,
    "visibility": "private",
    "products": null,
    "badge_color": null,
    "badge_text": null
  }'