API Docs / Stores

Stores API

Get Stores

GET/stores

Get product

Param Type Default Description
productId Stri hash id or slug

Create Store

POST/stores

Create store

Body Type Default Description
storeName String name of the store
storeUrl String url of the store
isActive Boolean false the store availabaility

Example request body

{
  "countries": [],
  "HeadTags": [
    {
      "headTag": {
        "isBootstrap": true,
        "tagType": "link",
        "description": "Bootstrap Theme",
        "rel": "stylesheet",
        "href": "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
      },
      "tagType": "link"
    }
  ],
  "isActive": true,
  "phone": {
    "phoneNumber": "111-111-1111",
    "countryCode": "1",
    "extension": null,
    "phoneType": null
  },
  "storeName": "tempcooolstore",
  "logoUrl": "",
  "redirectURLs": [],
  "storeUrl": "tempcooolstore.mpowerpromo.com"
}

Edit Store

PUT/stores

Edit store

Body Type Default Description
_id String hash id or of store
storeName String store name

Example request body

{
  "_id": "63a5e6f3f04e641d0276d9c6",
  "data": {
    "storeName": "temp new name"
  }
}

Delete Store

DELETE/stores/:storeId

Get product

Param Type Default Description
productId Stri hash id or slug

Ready to run all of promo in one place?

See how MPower replaces your disconnected tools with one platform — from the first lead to the final shipment.

No credit card required.

Download

Never miss a beat. Download our app and work on the go with all the same features as our desktop application.

Powered by MPower PromoPlatform privacy