Spurtcommerce
DocumentAPI ReferenceAdd-ons
API Reference
API Reference
  • About Spurtcommerce APIs
  • Spurtcommerce
    • Admin API
      • Admin
        • Authentication
        • My Profile
        • Support
      • Buyers
        • Manage Buyer
      • Chat
      • CMS
        • Manage Banner
        • Manage Blogs
        • Manage Pages
        • Manage SEO
      • Dashboard
      • Marketing
        • Manage Cross Selling
          • Related Products
        • Manage Promotions
          • Coupon
      • Marketplace
        • Manage Products
        • Manage Sales
        • Manage Settlements
        • Product Configuration
        • Reports
      • Sellers
        • Seller
        • Seller Group
        • Seller KYC Request
      • Settings
        • Add-ons
        • Add-ons Product Attributes
        • Localization
        • Order Fulfilment Status
        • Personalise
        • Site Settings
        • Store Settings
        • System
        • User and Permission
        • Support-Category
    • Store API
      • Account Settings
        • Customer
        • My Order
        • My Quotation
        • My Wishlist
        • Profile
        • Support
      • Checkouts
      • Store
        • Admin Contact
        • Categories
        • Home
        • Product Detail Page
    • Vendor API
      • Page 1
      • Catalogue
        • Bulk Product Imports
          • Custom
          • Standard
        • Common Product
        • Data Export
        • Pricing
        • Product Localisation
        • Product List
        • Product Variants
        • Related Products
      • CRM
        • Customer
        • Customer Group
        • Question and Answer
        • Rating and Review
      • Dashboard
      • Marketing
      • Payments
        • Archeived Payments
        • Earnings
        • Settlements
      • Profile
        • Account Settings
          • My Business
          • My KYC
          • My Profile
          • My Shop
          • Personalised Setting
        • Chat
        • Vendor
        • Support
      • Reports
      • Sales
        • Archeive Orders
        • Back Orders
        • Failed Orders
        • Orders
        • Quotation Request
        • Stock Update
        • Variant Stock Update
      • Supplier
        • Contact
        • Supplier
Powered by GitBook
On this page
  1. Spurtcommerce
  2. Admin API
  3. Settings

Add-ons

PreviousSettingsNextAdd-ons Product Attributes

Last updated 4 months ago

Get complete list of languages

get
Query parameters
limitintegerOptional

Limit the number of results

offsetintegerOptional

Offset for pagination

countbooleanOptional

Count flag (should be 0 or true/false)

keywordstringOptional

Search keyword to filter the languages

statusintegerOptional

Filter languages by status (1 for active)

defaultLanguagebooleanOptional

Filter by default language

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200
Successfully retrieved the language list
get
GET /backend/api/language HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
200

Successfully retrieved the language list

<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got all language List</message>
</object>

Get the plugin list

get

This endpoint retrieves the list of available plugins.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200
Successfully retrieved the plugin list
404
No plugins found
get
GET /backend/api/plugins/ HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the plugin list</message>
</object>

Get plugin details

get

This endpoint retrieves the details of a specific plugin by its ID.

Path parameters
idintegerRequired

The ID of the plugin.

Query parameters
idintegerOptional

Optional query parameter for the plugin ID.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200
Successfully retrieved the plugin details
404
Plugin not found
get
GET /backend/api/plugins/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the plugin detail</message>
</object>
  • GETGet complete list of languages
  • GETGet the plugin list
  • GETGet plugin details
  • PUTUpdate plugin status
  • POSTUpdate PayPal payment settings

Update plugin status

put

This endpoint updates the status of a specific plugin.

Path parameters
idintegerRequired

The ID of the plugin to be updated.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
pluginStatusstringRequiredExample: 0
Responses
200
Successfully updated the plugin status
404
Plugin not found
put
PUT /backend/api/plugins/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 20

"pluginStatus='0'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully updated the plugin status</message>
</object>

Update PayPal payment settings

post

This endpoint updates PayPal settings, including client credentials and test mode.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
clientIdstringRequired

The client ID for PayPal API.

clientSecretstringRequired

The client secret for PayPal API.

isTestbooleanRequired

Flag to indicate if PayPal is in test mode.

Responses
200
Successfully updated the PayPal payment settings
400
Invalid request, missing required parameters
post
POST /backend/api/paypal-payment HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55

"clientId='text'&clientSecret='text'&isTest=true"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Paypal settings updated successfully</message>
</object>