SellAuth

Shops

Get Shops

Retrieves all your shops.

GET
/v1/shops

Authorization

AuthorizationRequiredBearer <token>

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

In: header

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

[
  {
    "created_at": "2025-07-27T17:56:11.000000Z",
    "updated_at": "2025-07-27T18:04:28.000000Z",
    "name": "SellAuth Shop",
    "subdomain": "sellauth-shop",
    "logo_image_id": null,
    "favicon_image_id": null,
    "background_image_id": null,
    "bitcoin_wallet": null,
    "litecoin_wallet": null,
    "owner_id": 19,
    "description": "Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos.",
    "terms": null,
    "discord_url": "https://discord.com",
    "youtube_url": "https://youtube.com",
    "telegram_url": "https://telegram.com",
    "tiktok_url": "https://tiktok.com",
    "instagram_url": "https://instagram.com",
    "theme_id": null,
    "subscription_end_time": null,
    "crisp_website_id": null,
    "tawkto_id": null,
    "gtag_id": null,
    "discord_client_id": null,
    "discord_client_secret": null,
    "discord_bot_token": null,
    "termination_reason": null,
    "terminated_at": null,
    "enable_automatic_feedback": true,
    "hide_automatic_feedbacks_on_home": false,
    "deleted_at": null,
    "products_sold": 2,
    "products_sold_offset": 0,
    "total_customers": 1,
    "total_customers_offset": 0,
    "total_feedbacks": 0,
    "average_rating": "0.00",
    "points": 0,
    "webhook_secret": "82252785a8b703f22db5f973feb659717199d206f16932e79f9eac5cdee02d0d",
    "payment_method_labels": null,
    "invoice_header": null,
    "invoice_notes": null,
    "invoice_footer": null,
    "invoice_attach_email": false,
    "tax_enabled": false,
    "tax_rate": null,
    "tax_countries": null,
    "smtp_host": null,
    "smtp_port": null,
    "smtp_username": null,
    "smtp_password": null,
    "smtp_encryption": null,
    "smtp_from": null,
    "smtp_name": null,
    "show_newsletter_checkbox": true,
    "show_terms_checkbox": true,
    "affiliate_enabled": 0,
    "affiliate_percentage": "0.00",
    "show_coupon_input": true,
    "tickets_enabled": 1,
    "user_permissions": "*",
    "url": "https://sellauth-shop.mysellauth.com",
    "is_subscribed": false,
    "subscription_ends_at": null,
    "subscription_plan": {
      "id": "base",
      "name": null,
      "product_id": null,
      "price": null,
      "has_custom_domain": false,
      "has_custom_pages": false,
      "has_custom_notes": false,
      "has_manual_payment_method": false,
      "has_feedback_dispute": false,
      "has_vpn_block": false,
      "has_blacklist_asn": false,
      "has_blacklist_country_code": false,
      "has_blacklist_regex": false,
      "has_email_templates": false,
      "has_smtp": false,
      "has_discord_remove_role": false,
      "has_checkout_api": false,
      "product_limit": 50,
      "variant_per_product_limit": 10,
      "image_per_product_limit": 50,
      "team_member_limit": 2,
      "blacklist_limit": 50,
      "cart_item_limit": 3,
      "min_feedback_price_usd": 1
    },
    "logo_image_url": null,
    "pivot": {
      "user_id": 19,
      "shop_id": 38,
      "role": "owner"
    },
    "theme": null,
    "payment_methods": [
      {
        "shop_id": 38,
        "type": "LTC",
        "name": "Litecoin",
        "icon_image_id": null,
        "percentage_fee": 0,
        "fixed_fee": 0,
        "min_amount": null,
        "max_amount": null,
        "currency_override": null,
        "hide_powered_by": false,
        "is_active": true,
        "order": 1,
        "created_at": "2025-07-27T17:58:26.000000Z",
        "updated_at": "2025-07-27T17:58:26.000000Z",
        "deleted_at": null,
        "icon_image_url": null,
        "icon_image": null,
        "$id": 30
      }
    ],
    "subscription": null,
    "logo_image": null,
    "$id": 38
  }
]

Create Shop

Creates a new shop.

POST
/v1/shops/create

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Request Body

multipart/form-dataRequired
nameRequiredstring
subdomainRequiredstring

Must match the regex /^[A-Za-z0-9-]+$/.

logofile

Must be an image.

Format: "binary"
curl -X POST "https://api.sellauth.com/v1/shops/create" \
  -H "Authorization: Bearer <token>" \
  -F name="nulla" \
  -F subdomain="yKS" \
  -F logo="string"

Get Shop

Retrieves a specific shop.

GET
/v1/shops/{shopId}

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

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

Delete Shop

Deletes a specific shop.

DELETE
/v1/shops/{shopId}

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Request Body

application/jsonRequired
passwordRequiredstring
nameRequiredstring

Path Parameters

shopIdRequiredinteger
curl -X DELETE "https://api.sellauth.com/v1/shops/{shopId}" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "password": "omnis",
    "name": "excepturi"
  }'

Update Shop

Updates a specific shop.

PUT
/v1/shops/{shopId}/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
subdomainRequiredstring

Must match the regex /^[A-Za-z0-9-]+$/.

logo_image_idstring

The id of an existing record in the images table.

favicon_image_idstring

The id of an existing record in the images table.

background_image_idstring

The id of an existing record in the images table.

discord_urlstring

Must be a valid URL.

youtube_urlstring

Must be a valid URL.

telegram_urlstring

Must be a valid URL.

tiktok_urlstring

Must be a valid URL.

instagram_urlstring

Must be a valid URL.

discord_client_idstring

Must not be greater than 255 characters.

discord_client_secretstring

Must not be greater than 255 characters.

discord_bot_tokenstring

Must not be greater than 255 characters.

crisp_website_idstring

Must not be greater than 255 characters.

tawkto_idstring

Must not be greater than 255 characters.

gtag_idstring

Must not be greater than 255 characters.

descriptionstring

Must not be greater than 65535 characters.

termsstring

Must not be greater than 65535 characters.

enable_automatic_feedbackboolean
hide_automatic_feedbacks_on_homeboolean
invoice_headerstring

Must not be greater than 65535 characters.

invoice_notesstring

Must not be greater than 65535 characters.

invoice_footerstring

Must not be greater than 65535 characters.

invoice_attach_emailboolean
tax_enabledboolean
tax_ratenumber

Must be at least 0. Must not be greater than 100.

tax_countriesobject

Must not have more than 255 items.

smtp_hoststring

Must not be greater than 255 characters.

smtp_portnumber
smtp_usernamestring

Must not be greater than 255 characters.

smtp_passwordstring

Must not be greater than 255 characters.

smtp_encryptionstring
Value in: "ssl" | "tls"
smtp_fromstring

Must be a valid email address.

smtp_namestring

Must not be greater than 255 characters.

show_coupon_inputboolean
show_terms_checkboxboolean
show_newsletter_checkboxboolean
tickets_enabledboolean
affiliate_enabledboolean
affiliate_percentagenumber

Must be at least 0. Must not be greater than 100.

Path Parameters

shopIdRequiredinteger
curl -X PUT "https://api.sellauth.com/v1/shops/{shopId}/update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "quam",
    "subdomain": "CbEeOv",
    "logo_image_id": null,
    "favicon_image_id": null,
    "background_image_id": null,
    "discord_url": "http://www.monahan.com/laudantium-in-reiciendis-aut-laudantium.html",
    "youtube_url": "http://gleason.com/ut-laborum-et-facere-adipisci.html",
    "telegram_url": "http://www.krajcik.org/quibusdam-sit-beatae-provident-qui-tenetur-consequatur-non",
    "tiktok_url": "http://www.gulgowski.info/eaque-velit-nihil-consequatur-deserunt-dolor-consequuntur.html",
    "instagram_url": "http://schinner.biz/odit-doloremque-quia-ad-ut-architecto-assumenda.html",
    "discord_client_id": "kxic",
    "discord_client_secret": "cuns",
    "discord_bot_token": "qpgvfxstozmvydbfgcut",
    "crisp_website_id": "twzatuzbawavzldqbnt",
    "tawkto_id": "ddnqtnlykjeskyk",
    "gtag_id": "xl",
    "description": "Consequatur provident sint dolor assumenda ducimus magni.",
    "terms": "mlhoec",
    "enable_automatic_feedback": true,
    "hide_automatic_feedbacks_on_home": false,
    "invoice_header": "nktewixapluw",
    "invoice_notes": "fbwyxsolsunqfa",
    "invoice_footer": "utuslrszjgihvaupcnyf",
    "invoice_attach_email": false,
    "tax_enabled": true,
    "tax_rate": 20,
    "tax_countries": null,
    "smtp_host": "agty",
    "smtp_port": 315783311.57779,
    "smtp_username": "ktuthisodtfanr",
    "smtp_password": "myxhnfylcj",
    "smtp_encryption": "ssl",
    "smtp_from": "larson.michaela@example.com",
    "smtp_name": "esjurv",
    "show_coupon_input": true,
    "show_terms_checkbox": false,
    "show_newsletter_checkbox": false,
    "tickets_enabled": true,
    "affiliate_enabled": false,
    "affiliate_percentage": 7
  }'

Get Shop Stats

Retrieves shop statistics.

GET
/v1/shops/{shopId}/stats

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

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