---
# System prepended metadata

title: Evaly Core shop module v2 merchant API documentation

---

# Evaly Core shop module v2 merchant API documentation

```
CoreBaseURL = https://api-beta.evaly.com.bd/core 
```

## API endpoints

### /v2/merchant/custom/shops/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/custom/shops/?page=1&limit=5
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "shops fetched successfully",
  "count": 887,
  "data": [
    {
      "slug": "test-shop-joker",
      "contact_number": "01521200070",
      "shop_name": "Test Shop Joker",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5d5a935f343f-joker-trailer.jpg",
      "approval": 1,
      "owner_name": "The",
      "owner_number": "01977537988"
    },
    {
      "slug": "faka-shop",
      "contact_number": "01997938460",
      "shop_name": "faka shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/b2f8e1bd490a-download.jpg",
      "approval": 1,
      "owner_name": "Rozella",
      "owner_number": "01666666661"
    },
    {
      "slug": "refund-shop",
      "contact_number": "01326300967",
      "shop_name": "Refund shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/f6dc50912f3f-shopping-cart-with-money.png",
      "approval": 1,
      "owner_name": "Ishak",
      "owner_number": "ishak"
    },
    {
      "slug": "regular-shop",
      "contact_number": "01521200079",
      "shop_name": "Regular Shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/50f7b398b7f5-umidigi.png",
      "approval": 1,
      "owner_name": "Firoz",
      "owner_number": "01685735765"
    },
    {
      "slug": "tag-test-shop",
      "contact_number": "01997938460",
      "shop_name": "Tag test shop",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/c4372b0bdfa2-348s.jpg",
      "approval": 1,
      "owner_name": "ibrahim",
      "owner_number": "01997938460"
    }
  ]
}
```


### /v2/merchant/custom/create-shop/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/custom/create-shop/
**Request Method**: POST
**Request Body**:
```jsonld=1
{
	"name": "Smart Phone",
	"address": "Dhaka, Bangladesh",
	"contact_number": "01624153810",
	"owner": 1,
	"longitude": "0",
	"latitude": "0",
	"commission_rate": 10,
	"logo_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/8d5a33aa15a7-jamaican-me-crazy-roasted-chicken-drumsticks-3_web-1024x683.jpg",
	"shop_score": 24,
	"is_cod_allowed": true,
	"description": "A nice smart phone",
	"image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/95d1f6543205-Ecommerce_Banner.png"
}
```

**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "Shop created successfully",
  "data": {
    "id": 1047,
    "name": "Smart Phone",
    "owner_name": "ishak",
    "slug": "smart-phone",
    "approved": false,
    "shop_delivery_options": [],
    "longitude": "0.00000000000000000",
    "latitude": "0.00000000000000000",
    "nid": null,
    "trade_license": null,
    "bank_info": null,
    "contact_number": "01624153810",
    "status": "active",
    "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOTVkMWY2NTQzMjA1LUVjb21tZXJjZV9CYW5uZXIucG5nIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
    "logo_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/8d5a33aa15a7-jamaican-me-crazy-roasted-chicken-drumsticks-3_web-1024x683.jpg",
    "address": "Dhaka, Bangladesh",
    "description": "A nice smart phone",
    "shop_score": 24,
    "subscriber_count": 0,
    "is_express_shop": false,
    "is_cod_allowed": true,
    "is_delivery_hero_allowed": false,
    "commission_rate": 10
  }
}
```


### /v2/merchant/shops/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/smart-phone/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "name": "Smart Phone",
  "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOGQ1YTMzYWExNWE3LWphbWFpY2FuLW1lLWNyYXp5LXJvYXN0ZWQtY2hpY2tlbi1kcnVtc3RpY2tzLTNfd2ViLTEwMjR4NjgzLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
  "slug": "smart-phone",
  "approved": false,
  "contact_number": "01624153810",
  "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOTVkMWY2NTQzMjA1LUVjb21tZXJjZV9CYW5uZXIucG5nIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
  "is_cod_allowed": true,
  "address": "Dhaka, Bangladesh"
}
```


### /v2/merchant/shops/<shop_slug>/analytics
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/smart-phone/analytics
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "Shop analytics fetched successfully",
  "data": [
    {
      "status": "pending",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "cancel",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "delivered",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "processing",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "picked",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "shipped",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    },
    {
      "status": "confirmed",
      "total_count": 0,
      "total_amount": 0,
      "income": 0
    }
  ]
}
```


### /v2/merchant/shops/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/?page=1
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 888,
  "next": "http://localhost:8000/v2/merchant/shops/?page=2",
  "previous": null,
  "results": [
    {
      "name": "Smart Phone",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOGQ1YTMzYWExNWE3LWphbWFpY2FuLW1lLWNyYXp5LXJvYXN0ZWQtY2hpY2tlbi1kcnVtc3RpY2tzLTNfd2ViLTEwMjR4NjgzLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "smart-phone",
      "approved": false,
      "contact_number": "01624153810",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOTVkMWY2NTQzMjA1LUVjb21tZXJjZV9CYW5uZXIucG5nIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
      "is_cod_allowed": true,
      "address": "Dhaka, Bangladesh"
    },
    {
      "name": "config check",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvZmVkZGM2NjcyZTBiLW5ld2ZpbGUuanBlZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "config-check-159cdcac",
      "approved": false,
      "contact_number": "01323434905",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvY2ZiNWNmMDVhNGUyLXNjcmVlbnNob3QtMjAyMS0wNy0xMy1hdC0yMzkxNS1wbS5wbmciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiA5MDAsICJoZWlnaHQiOiAzNTAsICJmaXQiOiAiZmlsbCJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19",
      "is_cod_allowed": false,
      "address": "Dhanmondi, Dhaka 1205, Bangladesh"
    },
    .... .... ....
]
```


### /v2/merchant/shops/categories/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/categories/test-shop-joker/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "shop categories fetched successfully",
  "count": 68,
  "data": [
    {
      "category_slug": "111-e9c66e8d8",
      "category_name": "111",
      "shop_slug": "test-shop-joker",
      "shop_name": "Test Shop Joker",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5d5a935f343f-joker-trailer.jpg",
      "category_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/de5442e39673-basues-speaker.jpg"
    },
    {
      "category_slug": "11cc-category-0f4ace9fc",
      "category_name": "11CC Category",
      "shop_slug": "test-shop-joker",
      "shop_name": "Test Shop Joker",
      "shop_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5d5a935f343f-joker-trailer.jpg",
      "category_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/918c49af5c1b-express-food.png"
    },
    .... .... .... ....
]
```


### /v2/merchant/shops/items/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/items/test-shop-joker/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "shops items fetched successfully",
  "count": 135,
  "data": {
    "shop": {
      "id": 1,
      "name": "Test Shop Joker",
      "owner_name": "01977537988",
      "slug": "test-shop-joker",
      "approved": true,
      "shop_delivery_options": [
        
      ],
      "longitude": "90.37488850000000000",
      "latitude": "23.75426600000000000",
      "nid": null,
      "trade_license": null,
      "bank_info": "\"{\\\"bank_name\\\":\\\"asdf\\\",\\\"branch\\\":\\\"asdf\\\",\\\"account_name\\\":\\\"asdf\\\",\\\"account_number\\\":222,\\\"routing_number\\\":222}\"",
      "contact_number": "01521200070",
      "status": "active",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvMTI5NTY4NGU5YjhiLTA1LmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDkwMCwgImhlaWdodCI6IDM1MCwgImZpdCI6ICJmaWxsIn0sICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
      "logo_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/5d5a935f343f-joker-trailer.jpg",
      "address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh",
      "description": "Cash On Delivery (COD) not available.",
      "shop_score": 999999999,
      "subscriber_count": 5,
      "is_express_shop": false,
      "is_cod_allowed": false,
      "is_delivery_hero_allowed": false,
      "express_service": null,
      "campaign": null,
      "apply_delivery_charge": false,
      "delivery_charge": null,
      "commission_rate": 19
    },
    "groups": [
      
    ],
    "subscribed": false,
    "subscriber_count": 5,
    "items": [
      {
        "shop_item_slug": "mesh-beanie-gray-2232301-c3f0cfaf8",
        "item_name": "Mesh Beanie - Gray - 2232301",
        "shop_slug": "test-shop-joker",
        "item_price": 100,
        "in_stock": 1,
        "stock_item": 1,
        "discounted_price": 100,
        "discount_type": "flat",
        "item_images": [
          "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvZjhkMWRiMTEwNzA1LTIyMzIzMDEuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMzUwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImNvbnRhaW4ifSwgImJhY2tncm91bmQiOiB7InIiOiAyNTUsICJnIjogMjU1LCAiYiI6IDI1NSwgImFscGhhIjogMX0sICJmbGF0dGVuIjogdHJ1ZSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
          "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvZTM0OWNmMjZlYWYwLTIyMzIzMDFfMi5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiAzNTAsICJoZWlnaHQiOiAzNTAsICJmaXQiOiAiY29udGFpbiJ9LCAiYmFja2dyb3VuZCI6IHsiciI6IDI1NSwgImciOiAyNTUsICJiIjogMjU1LCAiYWxwaGEiOiAxfSwgImZsYXR0ZW4iOiB0cnVlLCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19"
        ],
        "item_product_approved": 1,
        "item_product_status": "active",
        "variant_id": 525267,
        "category_name": "Hats & Caps",
        "brand_name": "Individual Collections",
        "shop_item_id": 4497,
        "seller_price": 22
      },
      .... .... .... ....
    ]
}
```


### /v2/merchant/shops/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shops/test-shop-joker/
**Request Method**: DELETE
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "name": "Test Shop Joker",
  "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNWQ1YTkzNWYzNDNmLWpva2VyLXRyYWlsZXIuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "slug": "test-shop-joker",
  "approved": true,
  "contact_number": "01521200070",
  "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvMTI5NTY4NGU5YjhiLTA1LmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDkwMCwgImhlaWdodCI6IDM1MCwgImZpdCI6ICJmaWxsIn0sICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
  "is_cod_allowed": false,
  "address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh"
}
```


### /v2/merchant/shop-payments/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-payments/
**Request Method**: POST
**Request Body**:
```jsonld=1
{
  "shop": "test-shop-joker",
  "amount": "100",
  "payment_method": "cash",
  "payment_note": "Nice"
}
```
**Response Body**:
```jsonld=1
{
  "id": 1,
  "shop": {
    "id": 1,
    "name": "Test Shop Joker",
    "slug": "test-shop-joker",
    "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNWQ1YTkzNWYzNDNmLWpva2VyLXRyYWlsZXIuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
    "address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh"
  },
  "amount": "100.00",
  "signed_by": {
    "username": "01624153810",
    "first_name": "Ashraful",
    "last_name": "Islam"
  },
  "payment_method": "cash",
  "payment_date": "2021-07-14T09:08:44.746499Z",
  "payment_note": "Nice"
}

```


### /v2/merchant/shop-payments/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-payments/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "shop": "Test Shop Joker",
      "amount": "100.00",
      "payment_date": "2021-07-14T09:08:44.746499Z"
    }
  ]
}
```


### /v2/merchant/shop-payments/<pk>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-payments/1/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "id": 1,
  "shop": {
    "id": 1,
    "name": "Test Shop Joker",
    "slug": "test-shop-joker",
    "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNWQ1YTkzNWYzNDNmLWpva2VyLXRyYWlsZXIuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
    "address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh"
  },
  "amount": "100.00",
  "signed_by": {
    "username": "01624153810",
    "first_name": "Ashraful",
    "last_name": "Islam"
  },
  "payment_method": "cash",
  "payment_date": "2021-07-14T09:08:44.746499Z",
  "payment_note": "Nice"
}

```


### /v2/merchant/shop-payments/<pk>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-payments/1/
**Request Method**: DELETE
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "id": 1,
  "shop": {
    "id": 1,
    "name": "Test Shop Joker",
    "slug": "test-shop-joker",
    "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNWQ1YTkzNWYzNDNmLWpva2VyLXRyYWlsZXIuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
    "address": "Evaly.com.bd, House #8 1st Floor, Road: 14, Dhaka 1209, Bangladesh"
  },
  "amount": "100.00",
  "signed_by": {
    "username": "01624153810",
    "first_name": "Ashraful",
    "last_name": "Islam"
  },
  "payment_method": "cash",
  "payment_date": "2021-07-14T09:08:44.746499Z",
  "payment_note": "Nice"
}
```


### /v2/merchant/shop-items/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-items/?page=1
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 6006,
  "next": "http://localhost:8000/v2/merchant/shop-items/?page=2",
  "previous": null,
  "results": [
        {
          "id": 8777,
          "shop": 1050,
          "product_variant": 527199,
          "price": "4000.00",
          "in_stock": 1000
        },
        {
          "id": 8776,
          "shop": 1,
          "product_variant": 527194,
          "price": "110.00",
          "in_stock": 100
        },
        {
          "id": 8775,
          "shop": 1031,
          "product_variant": 527195,
          "price": "105.00",
          "in_stock": 100000
        },
        .... .... .... ....
    ]
}
```


### /v2/merchant/shop-items/<id>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-items/8777/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "seller_price": "2000.00",
  "in_stock": 1000,
  "status": "active",
  "wholesale_price": "900.00",
  "discount": "0.00",
  "discount_type": "flat",
  "discounted_price": "4000.00",
  "minimum_wholesale_quantity": 100,
  "stock_item": true
}
```


### /v2/merchant/shop-items/<id>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-items/8777/
**Request Method**: PUT
**Request Body**:
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "seller_price": "2000.00",
  "in_stock": 1000,
  "status": "active",
  "wholesale_price": "900.00",
  "discount": "5.00",
  "discount_type": "flat",
  "discounted_price": "4500.00",
  "minimum_wholesale_quantity": 100,
  "stock_item": true
}
```
**Response Body**:
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "seller_price": "2000.00",
  "in_stock": 1000,
  "status": "active",
  "wholesale_price": "900.00",
  "discount": "5.00",
  "discount_type": "flat",
  "discounted_price": "4500.00",
  "minimum_wholesale_quantity": 100,
  "stock_item": true
}
```


### /v2/merchant/shop-items/<id>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-items/8777/
**Request Method**: PATCH
**Request Body**:
```jsonld=1
{
  "minimum_wholesale_quantity": 250,
}
```
**Response Body**:
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "seller_price": "2000.00",
  "in_stock": 1000,
  "status": "active",
  "wholesale_price": "900.00",
  "discount": "5.00",
  "discount_type": "flat",
  "discounted_price": "4500.00",
  "minimum_wholesale_quantity": 250,
  "stock_item": true
}
```


### /v2/merchant/shop-items/<id>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-items/8777/
**Request Method**: DELETE
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "seller_price": "2000.00",
  "in_stock": 1000,
  "status": "active",
  "wholesale_price": "900.00",
  "discount": "5.00",
  "discount_type": "flat",
  "discounted_price": "4500.00",
  "minimum_wholesale_quantity": 250,
  "stock_item": true
}
```

### /v2/merchant/reviews/shops/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/reviews/shops/test-shop-joker/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "Shop reviews fetched successfully",
  "data": [
    {
      "id": 112,
      "user_name": "ibrahim",
      "phone": "01836472087",
      "rating_text": "4 t 5y",
      "rating_value": 3,
      "created_at": "2021-03-10T10:50:08.471001Z",
      "time": "2021-03-10T10:50:08.471001Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/3ffc6cc07d12-newfile.jpeg"
    },
    {
      "id": 101,
      "user_name": "ibrahim",
      "phone": "01836472088",
      "rating_text": "dsgtere",
      "rating_value": 4,
      "created_at": "2021-02-17T12:03:13.196160Z",
      "time": "2021-02-17T12:03:13.196160Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/65b494ff3b43-newfile.jpeg"
    },
    {
      "id": 74,
      "user_name": "Ila",
      "phone": "01750265167",
      "rating_text": "kmkl",
      "rating_value": 2,
      "created_at": "2021-01-19T10:08:09.246979Z",
      "time": "2021-01-19T10:08:09.246979Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": ""
    },
    {
      "id": 65,
      "user_name": "Ila",
      "phone": "01750265167",
      "rating_text": "yyy",
      "rating_value": 3,
      "created_at": "2021-01-19T07:08:40.913417Z",
      "time": "2021-01-19T07:08:40.913417Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": ""
    },
    {
      "id": 55,
      "user_name": "T.M. Rezoan",
      "phone": "01746410745",
      "rating_text": "Motamuti. Pay kori nai. Product o pai nai.",
      "rating_value": 4,
      "created_at": "2021-01-17T12:57:08.724969Z",
      "time": "2021-01-17T12:57:08.724969Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": ""
    },
    {
      "id": 41,
      "user_name": "I",
      "phone": "01677537984",
      "rating_text": "asd",
      "rating_value": 5,
      "created_at": "2021-01-13T06:34:21.720885Z",
      "time": "2021-01-13T06:34:21.720885Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": ""
    },
    {
      "id": 34,
      "user_name": "Ilias",
      "phone": "01723878203",
      "rating_text": "Asdasdasdas das das d as d as da as as d asdasdasdasdasd",
      "rating_value": 5,
      "created_at": "2021-01-10T08:44:20.245491Z",
      "time": "2021-01-10T08:44:20.245491Z",
      "is_approved": 1,
      "status": "active",
      "profile_image": ""
    }
  ],
  "meta": {
    "count": 7
  }
}
```

### /v2/merchant/shop-bills/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/shop-bills/?page=1&limit=3
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 0,
  "next": null,
  "previous": null,
  "results": [],  # No data available
  "total": 0
}
```


### /v2/merchant/remove-shop-item/<pk>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/remove-shop-item/8777/
**Request Method**: PUT
**Request Body**: 
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "in_stock": 1000
}
```
**Response Body**:
```jsonld=1
# No Response. Status 204
```


### /v2/merchant/merchants/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/merchants/?page=1&limit=3
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 6,
  "next": "http://localhost:8000/v2/merchant/merchants/?limit=3&page=2",
  "previous": null,
  "results": [
    {
      "merchant_no": "EM-483-097-319",
      "business_name": "Evaly Test Merchant for Dev",
      "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
      "business_type": "Partnership",
      "managed_by": {
        "first_name": "Ishak",
        "last_name": "Ahammed",
        "username": "ishak"
      }
    },
    {
      "merchant_no": "EM-793-768-550",
      "business_name": "Evaly New Jersey Shop",
      "business_logo": null,
      "business_type": "Partnership",
      "managed_by": {
        "first_name": "Ishak",
        "last_name": "Ahammed",
        "username": "ishak"
      }
    },
    {
      "merchant_no": "EM-259-985-324",
      "business_name": "Evaly Jersey",
      "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYTMyZTdmMzc1OWM0LWZ1ei5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiAyNTAsICJoZWlnaHQiOiAyNTAsICJmaXQiOiAiY29udGFpbiIsICJiYWNrZ3JvdW5kIjogeyJyIjogMCwgImciOiAwLCAiYiI6IDAsICJhbHBoYSI6IDB9fSwgInBuZyI6IHsiYWRhcHRpdmVGaWx0ZXJpbmciOiB0cnVlLCAicHJvZ3Jlc3NpdmUiOiB0cnVlLCAiZm9yY2UiOiB0cnVlfX19",
      "business_type": "Partnership",
      "managed_by": {
        "first_name": "Ishak",
        "last_name": "Ahammed",
        "username": "ishak"
      }
    }
  ]
}
```

### v2/merchant/merchants/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}v2/merchant/merchants/
**Request Method**: POST
**Request Body**: 
```jsonld=1
{
  "business_name": "API doc Test Merchant",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "managed_by": 1
}
```
**Response Body**:
```jsonld=1
{
  "merchant_no": "EM-956-044-121",
  "business_name": "API doc Test Merchant",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "managed_by": {
    "first_name": "John",
    "last_name": "Doe",
    "username": "1"
  }
}

```


### /v2/merchant/merchants/<merchant_no>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/merchants/EM-956-044-121/
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "merchant_no": "EM-956-044-121",
  "business_name": "API doc Test Merchant",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "business_contact": null,
  "contact_number": null,
  "contact_email": null,
  "address": null,
  "trade_license": null,
  "bank_information": null,
  "managed_by": {
    "first_name": "John",
    "last_name": "Doe",
    "username": "1"
  },
  "verified": true
}
```


### /v2/merchant/merchants/<merchant_no>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/merchants/EM-956-044-121/
**Request Method**: PUT
**Request Body**:
```jsonld=1
{
  "merchant_no": "EM-956-044-121",
  "business_name": "API doc Test Merchant [Updated]",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "business_contact": null,
  "contact_number": null,
  "contact_email": null,
  "address": null,
  "trade_license": null,
  "bank_information": null,
  "managed_by": 1,
  "verified": true
}
```
**Response Body**:
```jsonld=1
{
  "merchant_no": "EM-956-044-121",
  "business_name": "API doc Test Merchant [Updated]",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "business_contact": null,
  "contact_number": null,
  "contact_email": null,
  "address": null,
  "trade_license": null,
  "bank_information": "null",
  "managed_by": {
    "first_name": "John",
    "last_name": "Doe",
    "username": "1"
  },
  "verified": true
}

```


### /v2/merchant/merchants/<merchant_no>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/merchants/EM-956-044-121/
**Request Method**: DELETE
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "merchant_no": "EM-956-044-121",
  "business_name": "API doc Test Merchant [Updated]",
  "business_logo": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmNhYTkyZDg0NGU1LWltZy0yMDIxMDIyMi13YTAwMDMuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
  "business_type": "Partnership",
  "business_contact": null,
  "contact_number": null,
  "contact_email": null,
  "address": null,
  "trade_license": null,
  "bank_information": "null",
  "managed_by": {
    "first_name": "John",
    "last_name": "Doe",
    "username": "1"
  },
  "verified": true
}

```


### /v2/merchant/billing/shops/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/billing/shops/?page=1&limit=3
**Request Method**: GET
**Request Body**: N/A
**Response Body**:
```jsonld=1
{
  "count": 893,
  "next": "http://localhost:8000/v2/merchant/billing/shops/?limit=3&page=2",
  "previous": null,
  "results": [
    {
      "name": "Natural Aloe Vera for Aloe Vera Campaign",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYjRjYjA3Y2QwMDEzLW5ld2ZpbGUuanBlZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "natural-aloe-vera-for-aloe-vera-campaign-34dbbd68",
      "approved": true,
      "contact_number": "01623334522",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYTc4YWQ3OTFkY2ZhLW1heHJlc2RlZmF1bHQtMS5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiA5MDAsICJoZWlnaHQiOiAzNTAsICJmaXQiOiAiZmlsbCJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19",
      "owner": {
        "username": "01323432123",
        "first_name": "Ikkat",
        "last_name": "Ahmed"
      },
      "address": "84 Arjatpara - Mohakhali Rd, Dhaka 1215, Bangladesh",
      "merchant": null
    },
    {
      "name": "Aloe vera Primary shop",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvODVmMGMzNThiZjg4LW5ld2ZpbGUuanBlZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "aloe-vera-primary-shop-1957a92f",
      "approved": false,
      "contact_number": "01937498798",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvYjkzYWMyNWM5ZDk2LW1heHJlc2RlZmF1bHQtMS5qcGciLCAiZWRpdHMiOiB7InJlc2l6ZSI6IHsid2lkdGgiOiA5MDAsICJoZWlnaHQiOiAzNTAsICJmaXQiOiAiZmlsbCJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDc1fX19",
      "owner": {
        "username": "01623432200",
        "first_name": "Yusuf",
        "last_name": "Pathan"
      },
      "address": "63 Shaheed Tajuddin Ahmed Ave, Dhaka 1212, Bangladesh",
      "merchant": null
    },
    {
      "name": "primary shop5665",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvMjlhNDQ0NmM0ZjQ2LW5ld2ZpbGUuanBlZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "primary-shop5665-1f118872",
      "approved": false,
      "contact_number": "01623334522",
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvY2JhY2M4MzJjMGY2LW5ld2ZpbGUuanBlZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDkwMCwgImhlaWdodCI6IDM1MCwgImZpdCI6ICJmaWxsIn0sICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
      "owner": {
        "username": "01323432123",
        "first_name": "Ikkat",
        "last_name": "Ahmed"
      },
      "address": "Rampura, Dhaka, Bangladesh",
      "merchant": null
    }
  ]
}
```


### /v2/merchant/approve-review/<id>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}/v2/merchant/approve-review/138/
**Request Method**: PUT
**Request Body**: 
```jsonld=1
{
  "status": "approved"
}
```
**Response Body**:
```jsonld=1
{
  "success": true,
  "message": "Shop review updated successfully",
  "data": {
    "id": 138,
    "user_name": "priotaprio",
    "phone": "01776371161",
    "rating_text": "chatar matha",
    "rating_value": 5,
    "created_at": "2021-07-14T09:02:30.728456Z",
    "time": "2021-07-14T09:02:30.728456Z",
    "is_approved": 0,
    "status": "approved",
    "profile_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/406d4182c572-image.jpg"
  }
}
```


### v2/merchant/archive-shop-item/<slug>/
**Headers**: application/json; Bearer <Token>
**Requested URL**: {CoreBaseURL}v2/merchant/archive-shop-item/natural-aloe-vera-d1a8b4a/
**Request Method**: PUT
**Request Body**: 
```jsonld=1
{
  "id": 8777,
  "shop": 1050,
  "product_variant": 527199,
  "price": "4000.00",
  "in_stock": 1000
}
```
**Response Body**:
```jsonld=1
{
  "message": "shop item archived successfully"
}
```