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-04-13T15:20:39.000000Z",
    "updated_at": "2025-04-13T15:34:11.000000Z",
    "name": "SellAuth Shop",
    "subdomain": "sellauth-shop",
    "logo_image_id": 103,
    "favicon_image_id": 103,
    "background_image_id": null,
    "bitcoin_address": null,
    "bitcoin_wallet": null,
    "bitcoin_underpay_percentage": "10.00",
    "litecoin_address": "LZ3yU6g8J9wBbqHfL2Vc76d4q1eXrYh3zT",
    "litecoin_wallet": "23local",
    "litecoin_underpay_percentage": "10.00",
    "paypal_email": null,
    "paypal_method": "legacy",
    "paypal_client_id": null,
    "paypal_client_secret": null,
    "paypal_shipping": 0,
    "paypal_webhook_id": null,
    "paypalff_method": "ipn_note",
    "stripe_api_key": null,
    "stripe_webhook_secret": null,
    "stripe_tos_enable": 0,
    "stripe_tos_content": null,
    "stripe_enable_adaptive_pricing": 0,
    "stripe_account_currency": null,
    "stripe_access_token": null,
    "stripe_refresh_token": null,
    "stripe_response_token": null,
    "owner_id": 12,
    "cashapp_cashtag": null,
    "cashapp_email": null,
    "cashapp_notes": null,
    "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.",
    "venmo_tag": null,
    "venmo_email": null,
    "venmo_notes": null,
    "terms": "<p class=\"e-paragraph\" dir=\"ltr\"><span style=\"white-space: pre-wrap;\">A Terms of Service agreement, often called Terms and Conditions (T&amp;C) or End User License Agreement (EULA), is a contract between you (the service provider) and your users. This key document allows you to set the rules for how people can interact with your website, app, or service. For example, you can outline the right way to use copyrighted content, spell out the steps for suspending or ending a user account, and even the delivery times, returns, etc., if you run an e-commerce site.</span></p>",
    "discord_url": "https://discord.com",
    "youtube_url": "https://youtube.com",
    "telegram_url": "https://t.me",
    "tiktok_url": "https://tiktok.com",
    "instagram_url": "https://instagram.com",
    "theme_id": 108,
    "square_api_key": null,
    "square_location_id": null,
    "subscription_end_time": null,
    "paypalff_email": null,
    "paypalff_notes": null,
    "paypalff_info": null,
    "amazonps_merchant_identifier": null,
    "amazonps_access_code": null,
    "amazonps_sha_request_phrase": null,
    "amazonps_sha_response_phrase": null,
    "paypal_fee": "0.00",
    "paypal_min_amount": null,
    "paypal_max_amount": null,
    "paypalff_fee": "0.00",
    "paypalff_min_amount": null,
    "paypalff_max_amount": null,
    "stripe_fee": "0.00",
    "stripe_min_amount": null,
    "stripe_max_amount": null,
    "square_fee": "0.00",
    "square_min_amount": null,
    "square_max_amount": null,
    "bitcoin_fee": "0.00",
    "bitcoin_min_amount": null,
    "bitcoin_max_amount": null,
    "litecoin_fee": "0.00",
    "litecoin_min_amount": null,
    "litecoin_max_amount": null,
    "cashapp_fee": "0.00",
    "cashapp_min_amount": null,
    "cashapp_max_amount": null,
    "venmo_fee": "0.00",
    "venmo_min_amount": null,
    "venmo_max_amount": null,
    "amazonps_fee": "0.00",
    "points_fee": "0.00",
    "amazonps_min_amount": null,
    "amazonps_max_amount": null,
    "skrill_fee": "0.00",
    "skrill_min_amount": null,
    "skrill_max_amount": null,
    "authorizenet_fee": "0.00",
    "authorizenet_min_amount": null,
    "authorizenet_max_amount": null,
    "lemonsqueezy_fee": "0.00",
    "lemonsqueezy_min_amount": null,
    "lemonsqueezy_max_amount": null,
    "nmi_fee": "0.00",
    "nmi_min_amount": null,
    "nmi_max_amount": null,
    "customer_balance_min_amount": null,
    "customer_balance_max_amount": null,
    "customer_balance_fee": "0.00",
    "mollie_fee": "0.00",
    "mollie_min_amount": null,
    "mollie_max_amount": null,
    "sumup_fee": "0.00",
    "sumup_min_amount": null,
    "sumup_max_amount": 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,
    "paypalff_currency": "USD",
    "enable_automatic_feedback": true,
    "hide_automatic_feedbacks_on_home": false,
    "sumup_api_key": null,
    "sumup_email": null,
    "sumup_currency": null,
    "mollie_api_key": null,
    "skrill_email": null,
    "authorizenet_login_id": null,
    "authorizenet_transaction_key": null,
    "authorizenet_signature_key": null,
    "lemonsqueezy_api_key": null,
    "lemonsqueezy_store_id": null,
    "lemonsqueezy_variant_id": null,
    "lemonsqueezy_webhook_id": null,
    "lemonsqueezy_webhook_secret": null,
    "deleted_at": null,
    "products_sold": 5,
    "products_sold_offset": 0,
    "total_customers": 1,
    "total_customers_offset": 0,
    "total_feedbacks": 1,
    "average_rating": "5.00",
    "points": 0,
    "webhook_secret": "4c864049db076882efcd01f8016836385656a4f511a1b50eec78cab5dd485b13",
    "payment_method_labels": null,
    "invoice_header": null,
    "invoice_notes": null,
    "invoice_footer": null,
    "invoice_attach_email": false,
    "tax_enabled": true,
    "tax_rate": 10,
    "tax_countries": null,
    "smtp_host": null,
    "smtp_port": null,
    "smtp_username": null,
    "smtp_password": null,
    "smtp_encryption": null,
    "smtp_from": null,
    "smtp_name": null,
    "nmi_ekashu_seller_id": null,
    "nmi_ekashu_seller_key": null,
    "nmi_ekashu_hash_key": null,
    "customer_balance_enabled": 1,
    "show_newsletter_checkbox": true,
    "show_terms_checkbox": true,
    "user_permissions": "*",
    "is_subscribed": false,
    "url": "https://sellauth-shop.mysellauth.test",
    "valid_payment_methods": [
      "CUSTOMERBALANCE",
      "LTC"
    ],
    "max_product_limit": 50,
    "max_variant_limit": 10,
    "max_user_limit": 2,
    "max_cart_limit": 3,
    "pivot": {
      "user_id": 12,
      "shop_id": 23,
      "role": "owner"
    },
    "theme": {
      "id": 108,
      "name": "Main - Imported",
      "description": "",
      "image_id": null,
      "owner_id": 12,
      "official_theme_id": "main",
      "community_theme_id": null,
      "version": "3.1.0",
      "created_at": "2025-04-13T15:34:09.000000Z",
      "updated_at": "2025-04-13T15:34:09.000000Z",
      "files_updated_at": null,
      "type": "private",
      "deleted_at": null,
      "has_visual_editor": true,
      "is_update_available": true,
      "official_theme": {
        "name": "Main",
        "description": "",
        "version": "3.1.01",
        "changelog": [
          "Customer Dashboard",
          "Store Credit",
          "Currency Selector",
          "Upsell Products",
          "Feedback Sorting",
          "Option to Center Products",
          "Fix: YouTube Embed on iOS",
          "Fix: Default Colors"
        ],
        "price": 0,
        "$id": "main"
      }
    },
    "$id": 23
  }
]

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="aut" \
  -F subdomain="G" \
  -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": "consequatur",
    "name": "harum"
  }'

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
favicon_image_idstring
background_image_idstring
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_terms_checkboxboolean
show_newsletter_checkboxboolean

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": "libero",
    "subdomain": "2o",
    "logo_image_id": null,
    "favicon_image_id": null,
    "background_image_id": null,
    "discord_url": "http://www.roob.com/",
    "youtube_url": "http://hagenes.net/",
    "telegram_url": "https://www.kessler.net/assumenda-asperiores-autem-corrupti-dignissimos-assumenda-aspernatur",
    "tiktok_url": "http://lehner.net/dolor-sit-earum-sed-quasi-recusandae-pariatur-velit",
    "instagram_url": "http://fahey.com/qui-nostrum-est-est",
    "discord_client_id": "oykkrreksz",
    "discord_client_secret": "kwkbievjnvbew",
    "discord_bot_token": "pmhhpvdu",
    "crisp_website_id": "djimrmtdhjkswik",
    "tawkto_id": "nasulrmjxe",
    "gtag_id": "jyvrwggkchphjrrgsgswz",
    "description": "Commodi repellat eius similique.",
    "terms": "tib",
    "enable_automatic_feedback": false,
    "hide_automatic_feedbacks_on_home": true,
    "invoice_header": "xfnbywvlzvqzwk",
    "invoice_notes": "ayezx",
    "invoice_footer": "kxwfntsuggalbr",
    "invoice_attach_email": false,
    "tax_enabled": false,
    "tax_rate": 7,
    "tax_countries": null,
    "smtp_host": "flfdmwhijbgovlhlgjrenfjlr",
    "smtp_port": 339030.4,
    "smtp_username": "zzgvzefnh",
    "smtp_password": "krnavoszszaakooetyh",
    "smtp_encryption": "ssl",
    "smtp_from": "crona.sydni@example.net",
    "smtp_name": "ujjcotlgxkyydungjvlli",
    "show_terms_checkbox": false,
    "show_newsletter_checkbox": true
  }'

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"
}