MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

Base URL

https://spn21.spondan.com/amazcart/

Authenticating requests

This API is not authenticated.

Appearance

APIs For Appearance

Slider List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/appearance/sliders',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/appearance/sliders"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/appearance/sliders'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
 "data": [
      {
          "id": 1,
          "name": "KTM RC 390",
          "url": null,
          "data_type": "product",
          "data_id": 1,
          "slider_image": "uploads/images/14-06-2021/60c6da6f7adde.png",
          "status": 1,
          "is_newtab": 1,
          "position": 598776,
          "created_at": "2021-06-14T04:26:23.000000Z",
          "updated_at": "2021-06-14T04:26:23.000000Z",
          "product": {
              "id": 1,
              "user_id": 4,
              "product_id": 2,
              "tax": 15,
              "tax_type": "0",
              "discount": 50,
              "discount_type": "1",
              "discount_start_date": "06/01/2021",
              "discount_end_date": "07/31/2021",
              "product_name": "KTM RC 390",
              "slug": "ktm-rc-390-4",
              "thum_img": null,
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 6500,
              "max_sell_price": 6500,
              "total_sale": 0,
              "avg_rating": 0,
              "recent_view": "2021-06-14 10:26:55",
              "created_at": "2021-06-03T05:57:34.000000Z",
              "updated_at": "2021-06-14T04:26:55.000000Z",
              "variantDetails": [],
              "MaxSellingPrice": 6500,
              "hasDeal": 0,
              "rating": 0,
              "skus": [
                  {
                      "id": 1,
                      "user_id": 4,
                      "product_id": 1,
                      "product_sku_id": "2",
                      "product_stock": 0,
                      "purchase_price": 0,
                      "selling_price": 6500,
                      "status": 1,
                      "created_at": "2021-06-03T05:57:34.000000Z",
                      "updated_at": "2021-06-03T05:57:34.000000Z",
                      "product_variations": []
                  }
              ],
              "reviews": []
          },
          "category": {
              "id": 1,
              "name": "Electronics",
              "slug": "electronics",
              "parent_id": 0,
              "depth_level": 1,
              "icon": null,
              "searchable": 1,
              "status": 1,
              "total_sale": 35,
              "avg_rating": 0.15,
              "commission_rate": 10,
              "created_at": "2021-05-31T07:27:03.000000Z",
              "updated_at": "2021-06-13T11:19:09.000000Z",
              "AllProducts": {
                  product info ...
              },
          "brand": {
              "id": 1,
              "name": "Samsung",
              "logo": "uploads/images/31-05-2021/60b4902a55d8d.jpeg",
              "description": null,
              "link": null,
              "status": 1,
              "featured": 1,
              "meta_title": null,
              "meta_description": null,
              "sort_id": 3,
              "total_sale": 0,
              "avg_rating": 0,
              "slug": "samsung",
              "created_by": null,
              "updated_by": 1,
              "created_at": "2021-05-31T07:28:42.000000Z",
              "updated_at": "2021-06-08T10:55:28.000000Z",
              "AllProducts": {
                  product info ...
              },
          "tag": {
              "id": 1,
              "product_id": 1,
              "tag": "apple",
              "created_at": "2021-06-01T12:31:38.000000Z",
              "updated_at": "2021-06-01T12:31:38.000000Z"
          }
      }
  ]
}
 

Request   

GET api/appearance/sliders

Single slider

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/appearance/sliders/16',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/appearance/sliders/16"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/appearance/sliders/16'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "data": {
        "id": 9,
        "name": "test from tag",
        "url": null,
        "data_type": "tag",
        "data_id": 4,
        "slider_image": "uploads/images/13-06-2021/60c5d7217b91e.png",
        "status": 1,
        "is_newtab": 1,
        "position": 598776,
        "created_at": "2021-06-13T10:00:01.000000Z",
        "updated_at": "2021-06-13T10:00:01.000000Z",
        "product": {},
        "category": {},
        "brand": null,
        "tag": {
            "id": 4,
            "product_id": 3,
            "tag": "ktm",
            "created_at": "2021-05-29T07:13:28.000000Z",
            "updated_at": "2021-05-29T07:13:28.000000Z"
        }
    }
}
 

Request   

GET api/appearance/sliders/{id}

URL Parameters

id  integer  

id of slider

Brands

APIs for Brands

Brand List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/brand',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/brand"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/brand'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": [
          {
              "id": 2,
              "name": "KTM",
              "logo": "uploads/images/29-05-2021/60b1e7e14caf0.png",
              "description": null,
              "link": null,
              "status": 1,
              "featured": 1,
              "meta_title": null,
              "meta_description": null,
              "sort_id": null,
              "total_sale": 1,
              "avg_rating": 0,
              "slug": "ktm",
              "created_by": null,
              "updated_by": 5,
              "created_at": "2021-05-29T07:06:09.000000Z",
              "updated_at": "2021-05-29T12:11:27.000000Z",
              "AllProducts": {
                  "current_page": 1,
                  "data": [
                      product list ....
                  ],
                  "first_page_url": "http://ecommerce.test/api/product/brand?page=1",
                  "from": 1,
                  "last_page": 1,
                  "last_page_url": "http://ecommerce.test/api/product/brand?page=1",
                  "links": [
                      {
                          "url": null,
                          "label": "« Previous",
                          "active": false
                      },
                      {
                          "url": "http://ecommerce.test/api/product/brand?page=1",
                          "label": "1",
                          "active": true
                      },
                      {
                          "url": null,
                          "label": "Next »",
                          "active": false
                      }
                  ],
                  "next_page_url": null,
                  "path": "http://ecommerce.test/api/product/brand",
                  "per_page": 10,
                  "prev_page_url": null,
                  "to": 1,
                  "total": 1
              }
          }
      ]
}
 

Request   

GET api/product/brand

Single Brand

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/brand/6',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/brand/6"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/brand/6'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": {
          "id": 2,
          "name": "KTM",
          "logo": "uploads/images/29-05-2021/60b1e7e14caf0.png",
          "description": null,
          "link": null,
          "status": 1,
          "featured": 1,
          "meta_title": null,
          "meta_description": null,
          "sort_id": null,
          "total_sale": 1,
          "avg_rating": 0,
          "slug": "ktm",
          "created_by": null,
          "updated_by": 5,
          "created_at": "2021-05-29T07:06:09.000000Z",
          "updated_at": "2021-05-29T12:11:27.000000Z",
          "AllProducts": {
              "current_page": 1,
              "data": [
                  product list ....
              ],
              "first_page_url": "http://ecommerce.test/api/product/brand/2?page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://ecommerce.test/api/product/brand/2?page=1",
              "links": [
                  {
                      "url": null,
                      "label": "« Previous",
                      "active": false
                  },
                  {
                      "url": "http://ecommerce.test/api/product/brand/2?page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "Next »",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://ecommerce.test/api/product/brand/2",
              "per_page": 10,
              "prev_page_url": null,
              "to": 1,
              "total": 1
          }
      }
  }
}
 

Request   

GET api/product/brand/{id}

URL Parameters

id  integer  

brand id

Cart

APIs for customer cart

Cart List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/cart',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/cart"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/cart'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "carts": {
          "4": [
              {
                  "id": 1,
                  "user_id": 5,
                  "seller_id": 4,
                  "product_type": "product",
                  "product_id": 7,
                  "qty": 1,
                  "price": 6550,
                  "total_price": 6550,
                  "sku": null,
                  "is_select": 0,
                  "shipping_method_id": 2,
                  "created_at": "2021-06-10T12:29:09.000000Z",
                  "updated_at": "2021-06-10T12:29:09.000000Z",
                  "product": {

                  },
                  "shipping_method": {
                      "id": 1,
                      "method_name": "Email Delivery (within 24 Hours)",
                      "logo": null,
                      "phone": null,
                      "shipment_time": "12-24 hrs",
                      "cost": 0,
                      "is_active": 1,
                      "created_at": null,
                      "updated_at": null
                  },
                  "seller": {
                      seller info

                  },
                  "customer": {
                  customer info...
                  },
                  "gift_card": {
                      giftcard info....
                  },
                  "product": {
                      product info...
                  }
              }
          ]
      },
     "shipping_charge" : "90"
     ,
      "message": "success"
}
 

Request   

GET api/cart

Add to cart

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/cart',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'product_id' => 10161572.077669896,
            'qty' => 18303168.38,
            'price' => 3855.8838637,
            'seller_id' => 405.0,
            'shipping_method_id' => 65546522.189850666,
            'product_type' => 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/cart"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "product_id": 10161572.077669896,
    "qty": 18303168.38,
    "price": 3855.8838637,
    "seller_id": 405,
    "shipping_method_id": 65546522.189850666,
    "product_type": "est"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/cart'
payload = {
    "product_id": 10161572.077669896,
    "qty": 18303168.38,
    "price": 3855.8838637,
    "seller_id": 405,
    "shipping_method_id": 65546522.189850666,
    "product_type": "est"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
     'message' : 'product added succcessfully'
}
 

Request   

POST api/cart

Body Parameters

product_id  number  

product sku id

qty  number  

product quantity

price  number  

product price

seller_id  number  

seller id

shipping_method_id  number  

shipping method id

product_type  string  

product or giftcard

Remove From Cart

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/cart/remove',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 272021038.113097,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/cart/remove"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 272021038.113097
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/cart/remove'
payload = {
    "id": 272021038.113097
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (203):


{
     'message' : 'removed successfully'
}
 

Request   

POST api/cart/remove

Body Parameters

id  number  

item id

Quantity update

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/cart/update-qty',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 682804.0537336,
            'qty' => 83338.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/cart/update-qty"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 682804.0537336,
    "qty": 83338
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/cart/update-qty'
payload = {
    "id": 682804.0537336,
    "qty": 83338
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (202):


{
     'message' : 'qty updated successfully'
}
 

Request   

POST api/cart/update-qty

Body Parameters

id  number  

item id

qty  number  

item quantity

Categories

APIs for Categories

Category List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/category',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/category"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/category'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": [
          {
              "id": 6,
              "name": "Mobile",
              "slug": "mobile",
              "parent_id": 3,
              "depth_level": 2,
              "icon": "fas fa-mobile-alt",
              "searchable": 1,
              "status": 1,
              "total_sale": 3,
              "avg_rating": 0,
              "commission_rate": 0,
              "created_at": "2021-05-29T07:27:11.000000Z",
              "updated_at": "2021-06-07T13:18:43.000000Z",
              "AllProducts": {
                  "current_page": 1,
                  "data": [
                      product list ...
                  ],
                  "first_page_url": "http://ecommerce.test/api/product/category?page=1",
                  "from": 1,
                  "last_page": 1,
                  "last_page_url": "http://ecommerce.test/api/product/category?page=1",
                  "links": [
                      {
                          "url": null,
                          "label": "« Previous",
                          "active": false
                      },
                      {
                          "url": "http://ecommerce.test/api/product/category?page=1",
                          "label": "1",
                          "active": true
                      },
                      {
                          "url": null,
                          "label": "Next »",
                          "active": false
                      }
                  ],
                  "next_page_url": null,
                  "path": "http://ecommerce.test/api/product/category",
                  "per_page": 10,
                  "prev_page_url": null,
                  "to": 1,
                  "total": 1
              },
              "category_image": {
                  "category_id": 6
              },
              "parent_category": {
                  parent category ....
              },
              "sub_categories": [
                  sub category list ...
              ]
          }
      ]
}
 

Request   

GET api/product/category

Single Category

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/category/8',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/category/8"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/category/8'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": {
           "id": 6,
           "name": "Mobile",
           "slug": "mobile",
           "parent_id": 3,
           "depth_level": 2,
           "icon": "fas fa-mobile-alt",
           "searchable": 1,
           "status": 1,
           "total_sale": 3,
           "avg_rating": 0,
           "commission_rate": 0,
           "created_at": "2021-05-29T07:27:11.000000Z",
           "updated_at": "2021-06-07T13:18:43.000000Z",
           "AllProducts": {
               "current_page": 1,
               "data": [
                   product lists
               ],
               "first_page_url": "http://ecommerce.test/api/product/category/6?page=1",
               "from": 1,
               "last_page": 1,
               "last_page_url": "http://ecommerce.test/api/product/category/6?page=1",
               "links": [
                   {
                       "url": null,
                       "label": "« Previous",
                       "active": false
                   },
                   {
                       "url": "http://ecommerce.test/api/product/category/6?page=1",
                       "label": "1",
                       "active": true
                   },
                   {
                       "url": null,
                       "label": "Next »",
                       "active": false
                   }
               ],
               "next_page_url": null,
               "path": "http://ecommerce.test/api/product/category/6",
               "per_page": 10,
               "prev_page_url": null,
               "to": 1,
               "total": 1
           },
           "category_image": {
               "category_id": 6
           },
           "parent_category": {
               parent category ..
           },
           "sub_categories": [
               sub categories ...
           ]
       }
      ,
      "attributes": [
      {
          "id": 2,
          "name": "Storage",
          "display_type": null,
          "description": null,
          "status": 1,
          "created_by": null,
          "updated_by": null,
          "created_at": "2021-07-01T10:05:16.000000Z",
          "updated_at": "2021-07-01T10:05:16.000000Z",
         "values": [
          singl
         ]
      }
  ],
  "color": {
      "id": 1,
      "name": "Color",
      "display_type": "radio_button",
      "description": "null",
      "status": 1,
      "created_by": null,
      "updated_by": null,
      "created_at": "2018-11-04T20:12:26.000000Z",
      "updated_at": "2018-11-04T20:12:26.000000Z",
      "values": [
          {
              "id": 1,
              "value": "black",
              "attribute_id": 1,
              "created_at": "2021-07-01T09:51:50.000000Z",
              "updated_at": "2021-07-01T09:51:50.000000Z"
          },

      ]
  },
  "brands": [
      {
          "id": 1,
          "name": "Xiaomi",
          "logo": "uploads/images/01-07-2021/60dd926b30fde.png",
          "description": null,
          "link": null,
          "status": 1,
          "featured": 1,
          "meta_title": null,
          "meta_description": null,
          "sort_id": null,
          "total_sale": 0,
          "avg_rating": 0,
          "slug": "xiaomi",
          "created_by": null,
          "updated_by": null,
          "created_at": "2021-07-01T10:01:15.000000Z",
          "updated_at": "2021-07-01T10:01:15.000000Z",
      }
  ],
  "lowest_price": 190,
  "height_price": 22
}
 

Request   

GET api/product/category/{id}

URL Parameters

id  integer  

category id

Top Categories

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/category/filter/top',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/category/filter/top"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/category/filter/top'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
      "data": [
          {
              "id": 6,
              "name": "Mobile",
              "slug": "mobile",
              "parent_id": 3,
              "depth_level": 2,
              "icon": "fas fa-mobile-alt",
              "searchable": 1,
              "status": 1,
              "total_sale": 3,
              "avg_rating": 0,
              "commission_rate": 0,
              "created_at": "2021-05-29T07:27:11.000000Z",
              "updated_at": "2021-06-07T13:18:43.000000Z",
              "AllProducts": {
                  "current_page": 1,
                  "data": [
                      product list
                  ],
                  "first_page_url": "http://ecommerce.test/api/product/category/filter/top?page=1",
                  "from": 1,
                  "last_page": 1,
                  "last_page_url": "http://ecommerce.test/api/product/category/filter/top?page=1",
                  "links": [
                      {
                          "url": null,
                          "label": "« Previous",
                          "active": false
                      },
                      {
                          "url": "http://ecommerce.test/api/product/category/filter/top?page=1",
                          "label": "1",
                          "active": true
                      },
                      {
                          "url": null,
                          "label": "Next »",
                          "active": false
                      }
                  ],
                  "next_page_url": null,
                  "path": "http://ecommerce.test/api/product/category/filter/top",
                  "per_page": 10,
                  "prev_page_url": null,
                  "to": 1,
                  "total": 1
              },
              "category_image": {
                  "category_id": 6
              },
              "parent_category": {
                  parent category ...
              },
              "sub_categories": [
                  subcategories ...
              ]
          }
      ]
}
 

Request   

GET api/product/category/filter/top

Checkout

APIs for customer Checkout

Checkout product list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/checkout',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/checkout"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/checkout'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
"items": {
      "4": {
          "2": [
              {
                  "id": 1,
                  "user_id": 5,
                  "seller_id": 4,
                  "product_type": "product",
                  "product_id": 7,
                  "qty": 1,
                  "price": 6550,
                  "total_price": 6550,
                  "sku": null,
                  "is_select": 1,
                  "shipping_method_id": 2,
                  "created_at": "2021-06-10T12:29:09.000000Z",
                  "updated_at": "2021-06-12T04:25:20.000000Z",
                   "seller" : {
                     seller info....
                   },
                   "customer" : {
                     customer info....
                   },
                   "giftCard" : {
                     giftCard info....
                   },
                  "product": {
                      "id": 7,
                      "user_id": 4,
                      "product_id": 3,
                      "product_sku_id": "4",
                      "product_stock": 0,
                      "purchase_price": 0,
                      "selling_price": 6600,
                      "status": 1,
                      "created_at": "2021-05-29T10:28:14.000000Z",
                      "updated_at": "2021-05-30T04:32:25.000000Z",
                      "product": {
                          "id": 3,
                          "user_id": 4,
                          "product_id": 3,
                          "tax": 15,
                          "tax_type": "0",
                          "discount": 50,
                          "discount_type": "1",
                          "discount_start_date": "05/01/2021",
                          "discount_end_date": "06/30/2021",
                          "product_name": "KTM RC 390",
                          "slug": "ktm-rc-390-4",
                          "thum_img": null,
                          "status": 1,
                          "stock_manage": 0,
                          "is_approved": 0,
                          "min_sell_price": 6500,
                          "max_sell_price": 6500,
                          "total_sale": 1,
                          "avg_rating": 0,
                          "recent_view": "2021-05-29 16:28:14",
                          "created_at": "2021-05-29T10:28:14.000000Z",
                          "updated_at": "2021-05-30T04:29:14.000000Z",
                          "variantDetails": [],
                          "MaxSellingPrice": 6600,
                          "hasDeal": {
                              "id": 2,
                              "flash_deal_id": 1,
                              "seller_product_id": 3,
                              "discount": 50,
                              "discount_type": 1,
                              "status": 1,
                              "created_at": "2021-06-01T12:56:18.000000Z",
                              "updated_at": "2021-06-01T13:08:58.000000Z"
                          },
                          "rating": 0,
                          "product": {
                              "id": 3,
                              "product_name": "KTM RC 390",
                              "product_type": 1,
                              "unit_type_id": 1,
                              "brand_id": 2,
                              "category_id": 5,
                              "thumbnail_image_source": "uploads/images/29-05-2021/60b1e99781fbb.png",
                              "barcode_type": "C39",
                              "model_number": "ktm-rc-390",
                              "shipping_type": 0,
                              "shipping_cost": 0,
                              "discount_type": "1",
                              "discount": 0,
                              "tax_type": "0",
                              "tax": 15,
                              "pdf": null,
                              "video_provider": "youtube",
                              "video_link": null,
                              "description": "<p>test product</p>",
                              "specification": "<p>test product</p>",
                              "minimum_order_qty": 1,
                              "max_order_qty": 5,
                              "meta_title": null,
                              "meta_description": null,
                              "meta_image": null,
                              "is_physical": 1,
                              "is_approved": 1,
                              "display_in_details": 1,
                              "requested_by": 1,
                              "created_by": 1,
                              "slug": "ktm-rc-390",
                              "updated_by": null,
                              "created_at": "2021-05-29T07:13:28.000000Z",
                              "updated_at": "2021-05-29T07:13:28.000000Z"
                          },
                          "skus": [
                              {
                                  "id": 7,
                                  "user_id": 4,
                                  "product_id": 3,
                                  "product_sku_id": "4",
                                  "product_stock": 0,
                                  "purchase_price": 0,
                                  "selling_price": 6600,
                                  "status": 1,
                                  "created_at": "2021-05-29T10:28:14.000000Z",
                                  "updated_at": "2021-05-30T04:32:25.000000Z",
                                  "product_variations": []
                              }
                          ],
                          "reviews": []
                      }
                  },
                  "shipping_method": {
                      "id": 2,
                      "method_name": "Flat",
                      "logo": null,
                      "phone": null,
                      "shipment_time": "0-3 days",
                      "cost": 0,
                      "is_active": 1,
                      "created_at": null,
                      "updated_at": null
                  }
              }
          ]
      }
  },
 "same_state_gst_list": [
     same state gst info....
 ],
 "differant_state_gst_list": [
     differant state gst info....
 ],

 "flat_gst": {
     flat gst info...
 },

 "is_gst_enable": 0,
 "is_gst_module_enable": 1,

  "message": "success"
}
 

Request   

GET api/checkout

POST api/checkout/check-price-update

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/checkout/check-price-update',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/checkout/check-price-update"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/checkout/check-price-update'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Request   

POST api/checkout/check-price-update

Checkout coupon apply

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/checkout/coupon-apply',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'coupon_code' => 'autem',
            'shopping_amount' => 7984207.374993622,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/checkout/coupon-apply"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "coupon_code": "autem",
    "shopping_amount": 7984207.374993622
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/checkout/coupon-apply'
payload = {
    "coupon_code": "autem",
    "shopping_amount": 7984207.374993622
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "coupon": {
        "id": 2,
        "title": "coupon on product",
        "coupon_code": "356966565645656",
        "coupon_type": 1,
        "start_date": "2021-06-06",
        "end_date": "2021-07-31",
        "discount": 20,
        "discount_type": 1,
        "minimum_shopping": null,
        "maximum_discount": null,
        "created_by": 1,
        "updated_by": null,
        "is_expire": 0,
        "is_multiple_buy": 1,
        "created_at": "2021-06-07T10:54:27.000000Z",
        "updated_at": "2021-06-07T10:54:27.000000Z"
    },
    "message": "success"
}
 

Request   

POST api/checkout/coupon-apply

Body Parameters

coupon_code  string  

Code from coupon

shopping_amount  number  

Amount of shopping

Coupon

APIs for customer coupon

Customer Coupon list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/coupon',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/coupon"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/coupon'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "coupons": [
        {
            "id": 1,
            "customer_id": 5,
            "coupon_id": 2,
            "created_at": "2021-06-12T04:41:38.000000Z",
            "updated_at": "2021-06-12T04:41:38.000000Z",
            "coupon": {
                "id": 2,
                "title": "coupon on product",
                "coupon_code": "356966565645656",
                "coupon_type": 1,
                "start_date": "2021-06-06",
                "end_date": "2021-07-31",
                "discount": 20,
                "discount_type": 1,
                "minimum_shopping": null,
                "maximum_discount": null,
                "created_by": 1,
                "updated_by": null,
                "is_expire": 0,
                "is_multiple_buy": 1,
                "created_at": "2021-06-07T10:54:27.000000Z",
                "updated_at": "2021-06-07T10:54:27.000000Z"
            }
        }
    ],
    "message": "success"
}
 

Request   

GET api/coupon

Customer coupon store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/coupon',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'code' => 'qui',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/coupon"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "code": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/coupon'
payload = {
    "code": "qui"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "message": "coupon Stored Successfully"
}
 

Request   

POST api/coupon

Body Parameters

code  string  

Code from coupon

Customer coupon delete

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/coupon/delete',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 4.8407,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/coupon/delete"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 4.8407
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/coupon/delete'
payload = {
    "id": 4.8407
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "message": "coupon deleted successfully"
}
 

Request   

POST api/coupon/delete

Body Parameters

id  number  

id from coupon list

Endpoints

GET api/service/check

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/service/check',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/service/check"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/service/check'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

true
 

Request   

GET api/service/check

GET api/homepage-data

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/homepage-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/homepage-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/homepage-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
access-control-allow-origin: *
 

{
    "top_categories": [
        {
            "id": 7,
            "name": "Men Shoes",
            "slug": "men-shoes",
            "icon": null,
            "image": "uploads/images/04-10-2021/615a880e2ccbe.jpeg"
        },
        {
            "id": 10,
            "name": "Sofa",
            "slug": "sofa",
            "icon": "fas fa-couch",
            "image": "uploads/images/04-10-2021/615a8835846c5.png"
        },
        {
            "id": 4,
            "name": "Watch",
            "slug": "watch",
            "icon": "far fa-clock",
            "image": "uploads/images/04-10-2021/615a87b570846.jpeg"
        },
        {
            "id": 14,
            "name": "Helmet",
            "slug": "helmet",
            "icon": null,
            "image": "uploads/images/04-10-2021/615a887f8c6e2.png"
        },
        {
            "id": 1,
            "name": "Women Fashion",
            "slug": "women-fashion",
            "icon": "fas fa-female",
            "image": null
        },
        {
            "id": 2,
            "name": "Men Fashion",
            "slug": "men-fashion",
            "icon": "fas fa-male",
            "image": null
        },
        {
            "id": 3,
            "name": "Bags",
            "slug": "bags",
            "icon": "fas fa-shopping-bag",
            "image": null
        },
        {
            "id": 5,
            "name": "Bikes",
            "slug": "bikes",
            "icon": "fas fa-motorcycle",
            "image": null
        }
    ],
    "featured_brands": [
        {
            "id": 22,
            "name": "Sony",
            "logo": "uploads/images/24-11-2021/619e2616e7806.png"
        },
        {
            "id": 21,
            "name": "Samsung",
            "logo": "uploads/images/16-05-2022/6281f1882df21.png"
        },
        {
            "id": 20,
            "name": "Bajaj",
            "logo": "uploads/images/16-05-2022/6281f1a444276.png"
        },
        {
            "id": 19,
            "name": "TVS",
            "logo": "uploads/images/16-05-2022/6281f1ef02aa1.png"
        },
        {
            "id": 18,
            "name": "Adata",
            "logo": "uploads/images/24-11-2021/619e253cda58a.png"
        },
        {
            "id": 17,
            "name": "Transcend",
            "logo": "uploads/images/24-11-2021/619e26272609d.png"
        },
        {
            "id": 16,
            "name": "Addlink",
            "logo": "uploads/images/24-11-2021/619e249de529f.png"
        },
        {
            "id": 15,
            "name": "Lenovo",
            "logo": "uploads/images/24-11-2021/619e2519292d6.png"
        },
        {
            "id": 14,
            "name": "LG",
            "logo": "uploads/images/24-11-2021/619e252a74dda.png"
        },
        {
            "id": 13,
            "name": "Intel PC",
            "logo": "uploads/images/24-11-2021/619e2481dab97.png"
        },
        {
            "id": 12,
            "name": "RYZEN PC",
            "logo": "uploads/images/24-11-2021/619e246e358a7.png"
        },
        {
            "id": 11,
            "name": "MT",
            "logo": "uploads/images/24-11-2021/619e23fc70490.png"
        },
        {
            "id": 10,
            "name": "Ray Ban",
            "logo": "uploads/images/24-11-2021/619e245b36154.png"
        },
        {
            "id": 9,
            "name": "Ferrari",
            "logo": "uploads/images/24-11-2021/619e244e75450.png"
        },
        {
            "id": 8,
            "name": "Toyota",
            "logo": "uploads/images/24-11-2021/619e243e2e482.png"
        },
        {
            "id": 7,
            "name": "Otobi",
            "logo": "uploads/images/04-10-2021/615a8b3da6843.png"
        },
        {
            "id": 6,
            "name": "Adidas",
            "logo": "uploads/images/24-11-2021/619e242eb71ad.png"
        },
        {
            "id": 5,
            "name": "Nike",
            "logo": "uploads/images/24-11-2021/619e241cd7e88.png"
        },
        {
            "id": 4,
            "name": "Aven",
            "logo": "uploads/images/24-11-2021/619e23d2b0a5c.png"
        },
        {
            "id": 2,
            "name": "Casio",
            "logo": "uploads/images/16-05-2022/6281f11ed9f27.png"
        }
    ],
    "sliders": [
        {
            "id": 4,
            "name": "Exclusive Shoes",
            "data_type": "category",
            "data_id": 6,
            "slider_image": "uploads/images/25-07-2022/62de9ce2adbfc.png",
            "position": 598776,
            "category": {
                "id": 6,
                "name": "Shoes",
                "slug": "shoes",
                "icon": "fas fa-shoe-prints"
            }
        },
        {
            "id": 5,
            "name": "Exclusive Cameras",
            "data_type": "category",
            "data_id": 20,
            "slider_image": "uploads/images/25-07-2022/62de9cea5410b.png",
            "position": 598776,
            "category": {
                "id": 20,
                "name": "Camera",
                "slug": "camera",
                "icon": null
            }
        }
    ],
    "new_user_zone": {
        "id": 1,
        "title": "New User Gifts – Choose one!",
        "background_color": "white",
        "slug": "new-user-gifts-–-choose-one!-32jk0",
        "banner_image": "https://mkzone360.s3.amazonaws.com/images/62d7b819851ad.jpeg",
        "product_navigation_label": "$US 0.1",
        "category_navigation_label": "Exclusive Price",
        "coupon_navigation_label": "Coupon",
        "product_slogan": "Hot Picks For You",
        "category_slogan": "More To Love",
        "coupon_slogan": "Start shopping with your new coupon",
        "coupon": {
            "id": 1,
            "title": "New User Zone coupons",
            "coupon_code": "7346875789567",
            "start_date": "2022-03-01",
            "end_date": "2022-06-30",
            "discount": 5,
            "discount_type": 0,
            "minimum_shopping": 20,
            "maximum_discount": 2
        },
        "AllProducts": [
            {
                "id": 22,
                "new_user_zone_id": 1,
                "seller_product_id": 76,
                "status": 1,
                "created_at": "2021-11-25T18:03:15.000000Z",
                "updated_at": "2021-11-25T18:03:15.000000Z",
                "product": {
                    "id": 76,
                    "user_id": 1,
                    "product_id": 80,
                    "tax": 2,
                    "tax_type": "0",
                    "discount": 5,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "beautiful-single-size-sofa-0099",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 1,
                    "min_sell_price": 80,
                    "max_sell_price": 80,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "recent_view": "2022-09-02 15:42:23",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-11-24T16:29:41.000000Z",
                    "updated_at": "2022-09-02T09:42:23.000000Z",
                    "variantDetails": [
                        {
                            "value": [
                                "Gray",
                                "Blue",
                                "Purple"
                            ],
                            "code": [
                                "#999999",
                                "#258cd9",
                                "#6728a3"
                            ],
                            "attr_val_id": [
                                6,
                                7,
                                33
                            ],
                            "name": "Color",
                            "attr_id": 1
                        }
                    ],
                    "MaxSellingPrice": 80,
                    "hasDeal": 0,
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": null,
                    "product": {
                        "id": 80,
                        "product_name": null,
                        "product_type": 2,
                        "unit_type_id": 1,
                        "brand_id": 7,
                        "thumbnail_image_source": "uploads/images/24-11-2021/619e14155cb74.png",
                        "media_ids": "77,78,79",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "sofa-0099",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 5,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 2,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": 10,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 2,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "beautiful-single-size-sofa--0099",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-11-24T16:29:41.000000Z",
                        "updated_at": "2022-04-07T15:37:07.000000Z",
                        "translateProductName": "Beautiful single size sofa -0099",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 186,
                            "user_id": 1,
                            "product_id": 76,
                            "product_sku_id": "161",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 80,
                            "status": 1,
                            "created_at": "2021-11-24T16:29:41.000000Z",
                            "updated_at": "2021-11-24T16:29:41.000000Z",
                            "product_variations": [
                                {
                                    "id": 146,
                                    "product_id": 80,
                                    "product_sku_id": 161,
                                    "attribute_id": 1,
                                    "attribute_value_id": 6,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-11-24T16:29:41.000000Z",
                                    "updated_at": "2021-11-24T16:29:41.000000Z",
                                    "attribute_value": {
                                        "id": 6,
                                        "value": "#999999",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 6,
                                            "attribute_value_id": 6,
                                            "name": "Gray",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    },
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    }
                                }
                            ]
                        },
                        {
                            "id": 187,
                            "user_id": 1,
                            "product_id": 76,
                            "product_sku_id": "162",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 80,
                            "status": 1,
                            "created_at": "2021-11-24T16:29:41.000000Z",
                            "updated_at": "2021-11-24T16:29:41.000000Z",
                            "product_variations": [
                                {
                                    "id": 147,
                                    "product_id": 80,
                                    "product_sku_id": 162,
                                    "attribute_id": 1,
                                    "attribute_value_id": 7,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-11-24T16:29:41.000000Z",
                                    "updated_at": "2021-11-24T16:29:41.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 7,
                                        "value": "#258cd9",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 7,
                                            "attribute_value_id": 7,
                                            "name": "Blue",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 188,
                            "user_id": 1,
                            "product_id": 76,
                            "product_sku_id": "163",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 80,
                            "status": 1,
                            "created_at": "2021-11-24T16:29:41.000000Z",
                            "updated_at": "2021-11-24T16:29:41.000000Z",
                            "product_variations": [
                                {
                                    "id": 148,
                                    "product_id": 80,
                                    "product_sku_id": 163,
                                    "attribute_id": 1,
                                    "attribute_value_id": 33,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-11-24T16:29:41.000000Z",
                                    "updated_at": "2021-11-24T16:29:41.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 33,
                                        "value": "#6728a3",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                        "updated_at": "2021-09-28T10:09:06.000000Z",
                                        "color": {
                                            "id": 10,
                                            "attribute_value_id": 33,
                                            "name": "Purple",
                                            "created_at": "2021-09-28T10:09:06.000000Z",
                                            "updated_at": "2021-09-28T10:09:06.000000Z"
                                        }
                                    }
                                }
                            ]
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 17,
                "new_user_zone_id": 1,
                "seller_product_id": 32,
                "status": 1,
                "created_at": "2021-11-25T18:03:15.000000Z",
                "updated_at": "2021-11-25T18:03:15.000000Z",
                "product": {
                    "id": 32,
                    "user_id": 1,
                    "product_id": 29,
                    "tax": 2,
                    "tax_type": "0",
                    "discount": 4,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "new-pulsar-ns160-abs-motor-bike-007",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 2400,
                    "max_sell_price": 2400,
                    "total_sale": 0,
                    "avg_rating": 0,
                    "recent_view": "2021-12-12 17:01:14",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-29T13:11:34.000000Z",
                    "updated_at": "2022-08-16T07:44:37.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 2400,
                    "hasDeal": 0,
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": null,
                    "product": {
                        "id": 29,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 20,
                        "thumbnail_image_source": "uploads/images/25-11-2021/619f858355193.png",
                        "media_ids": "94",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "n3878498",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 4,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 2,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": 10,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "bajaj-pulsar-ns160-(car)-abs-motor-bike",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-29T12:34:04.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z",
                        "translateProductName": "new Pulsar NS160 ABS Motor Bike -007",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 128,
                            "user_id": 1,
                            "product_id": 32,
                            "product_sku_id": "97",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 2400,
                            "status": 1,
                            "created_at": "2021-09-29T13:11:34.000000Z",
                            "updated_at": "2021-11-23T20:26:04.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            }
        ]
    },
    "flash_deal": {
        "id": 1,
        "title": "Eid Flash Sale",
        "background_color": "white",
        "text_color": "#5b5b5b",
        "start_date": "2022-09-01",
        "end_date": "2023-04-30",
        "slug": "eid-flash-sale-xiaiq",
        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
        "is_featured": 1,
        "AllProducts": [
            {
                "id": 23,
                "flash_deal_id": 1,
                "seller_product_id": 82,
                "discount": 10,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T17:59:13.000000Z",
                "updated_at": "2021-11-25T17:59:13.000000Z",
                "product": {
                    "id": 82,
                    "user_id": 1,
                    "product_id": 40,
                    "tax": 2,
                    "tax_type": "1",
                    "discount": 3,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "sun-glass-for-girls",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 44,
                    "max_sell_price": 44,
                    "total_sale": 27,
                    "avg_rating": 0,
                    "recent_view": "2022-10-27 15:32:18",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-11-25T09:26:15.000000Z",
                    "updated_at": "2022-10-27T11:47:09.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 44,
                    "hasDeal": {
                        "id": 23,
                        "flash_deal_id": 1,
                        "seller_product_id": 82,
                        "discount": 10,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 23,
                        "flash_deal_id": 1,
                        "seller_product_id": 82,
                        "discount": 10,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 40,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 2,
                        "brand_id": 10,
                        "thumbnail_image_source": "uploads/images/04-10-2021/615a6e3194487.jpeg",
                        "media_ids": "30",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": null,
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "1",
                        "discount": 3,
                        "tax_type": "1",
                        "gst_group_id": null,
                        "tax": 2,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 3,
                        "max_order_qty": 29,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "sun-glass-for-girls",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-29T15:24:52.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z",
                        "translateProductName": "Sun glass for girls",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 200,
                            "user_id": 1,
                            "product_id": 82,
                            "product_sku_id": "108",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 44,
                            "status": 1,
                            "created_at": "2021-11-25T09:29:39.000000Z",
                            "updated_at": "2021-11-25T09:29:39.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 24,
                "flash_deal_id": 1,
                "seller_product_id": 38,
                "discount": 9,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T17:59:13.000000Z",
                "updated_at": "2021-11-25T17:59:13.000000Z",
                "product": {
                    "id": 38,
                    "user_id": 1,
                    "product_id": 24,
                    "tax": 1,
                    "tax_type": "0",
                    "discount": 3,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "addlink-s20-120gb-2-5-sata-iii-6gb-s-3d-nand-ssd",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 120,
                    "max_sell_price": 120,
                    "total_sale": 0,
                    "avg_rating": 0,
                    "recent_view": "2021-12-12 17:40:00",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-29T13:21:39.000000Z",
                    "updated_at": "2022-08-16T07:44:37.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 120,
                    "hasDeal": {
                        "id": 24,
                        "flash_deal_id": 1,
                        "seller_product_id": 38,
                        "discount": 9,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 24,
                        "flash_deal_id": 1,
                        "seller_product_id": 38,
                        "discount": 9,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 24,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 16,
                        "thumbnail_image_source": "uploads/images/25-11-2021/619f91508163b.png",
                        "media_ids": "113",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "S20",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 3,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 1,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": 15,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "addlink-s20-120gb-2.5\"-sata-iii-6gb/s-3d-nand-ssd",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-29T11:33:41.000000Z",
                        "updated_at": "2022-04-07T15:37:09.000000Z",
                        "translateProductName": "Addlink S20 120GB 2.5\" SATA III 6Gb/s 3D Nand SSD",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 134,
                            "user_id": 1,
                            "product_id": 38,
                            "product_sku_id": "92",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 120,
                            "status": 1,
                            "created_at": "2021-09-29T13:21:39.000000Z",
                            "updated_at": "2021-09-29T13:21:39.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 22,
                "flash_deal_id": 1,
                "seller_product_id": 81,
                "discount": 8,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T17:59:13.000000Z",
                "updated_at": "2021-11-25T17:59:13.000000Z",
                "product": {
                    "id": 81,
                    "user_id": 1,
                    "product_id": 58,
                    "tax": 3,
                    "tax_type": "1",
                    "discount": 5,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "laptop-computer",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 2440,
                    "max_sell_price": 2440,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "recent_view": "2022-06-27 11:49:28",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-11-25T08:07:37.000000Z",
                    "updated_at": "2022-08-16T07:44:38.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 2440,
                    "hasDeal": {
                        "id": 22,
                        "flash_deal_id": 1,
                        "seller_product_id": 81,
                        "discount": 8,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 22,
                        "flash_deal_id": 1,
                        "seller_product_id": 81,
                        "discount": 8,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 58,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": null,
                        "thumbnail_image_source": "uploads/images/25-11-2021/619f4590344f2.png",
                        "media_ids": "86",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "535353",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 5,
                        "tax_type": "1",
                        "gst_group_id": null,
                        "tax": 3,
                        "pdf": "/uploads/product/61618b0ca3ca44174558.jpg",
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": 5,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "laptop-computer",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-10-09T18:29:00.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z",
                        "translateProductName": "Laptop Computer",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 195,
                            "user_id": 1,
                            "product_id": 81,
                            "product_sku_id": "126",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 2440,
                            "status": 1,
                            "created_at": "2021-11-25T08:10:29.000000Z",
                            "updated_at": "2021-11-25T14:11:15.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 21,
                "flash_deal_id": 1,
                "seller_product_id": 29,
                "discount": 50,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-11-25T17:59:13.000000Z",
                "updated_at": "2021-11-25T17:59:13.000000Z",
                "product": {
                    "id": 29,
                    "user_id": 1,
                    "product_id": 22,
                    "tax": 3,
                    "tax_type": "0",
                    "discount": 3.5,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "hp-15s-gr515au-amd-athlon-3050u-15-6-hd-laptop",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 450,
                    "max_sell_price": 450,
                    "total_sale": 0,
                    "avg_rating": 0,
                    "recent_view": "2022-06-20 19:20:34",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-28T19:02:18.000000Z",
                    "updated_at": "2022-06-20T13:20:34.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 450,
                    "hasDeal": {
                        "id": 21,
                        "flash_deal_id": 1,
                        "seller_product_id": 29,
                        "discount": 50,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 21,
                        "flash_deal_id": 1,
                        "seller_product_id": 29,
                        "discount": 50,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-11-25T17:59:13.000000Z",
                        "updated_at": "2021-11-25T17:59:13.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 22,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 2,
                        "brand_id": 14,
                        "thumbnail_image_source": "uploads/images/25-11-2021/619f8eb926772.png",
                        "media_ids": "109",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": null,
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "1",
                        "discount": 3.5,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 3,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": 10,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "hp-15s-gr515au-amd-athlon-3050u-15.6\"-hd-laptop",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-28T18:28:30.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z",
                        "translateProductName": "HP 15s-gr515AU AMD Athlon 3050U 15.6\" HD Laptop",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 125,
                            "user_id": 1,
                            "product_id": 29,
                            "product_sku_id": "90",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 450,
                            "status": 1,
                            "created_at": "2021-09-28T19:02:18.000000Z",
                            "updated_at": "2021-09-28T19:02:18.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 20,
                "flash_deal_id": 1,
                "seller_product_id": 9,
                "discount": 10,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:51:17.000000Z",
                "updated_at": "2021-11-25T13:51:17.000000Z",
                "product": {
                    "id": 9,
                    "user_id": 1,
                    "product_id": 11,
                    "tax": 0,
                    "tax_type": "0",
                    "discount": 0,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "men-casual-watch-005",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 75,
                    "max_sell_price": 75,
                    "total_sale": 0,
                    "avg_rating": 0,
                    "recent_view": "2022-06-09 12:40:23",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-28T12:09:01.000000Z",
                    "updated_at": "2022-10-24T09:58:39.000000Z",
                    "variantDetails": [
                        {
                            "value": [
                                "Green",
                                "Yellow",
                                "Golden",
                                "Purple"
                            ],
                            "code": [
                                "#6aa84f",
                                "#ffd966",
                                "#fce5cd",
                                "#6728a3"
                            ],
                            "attr_val_id": [
                                4,
                                5,
                                8,
                                33
                            ],
                            "name": "Color",
                            "attr_id": 1
                        }
                    ],
                    "MaxSellingPrice": 75,
                    "hasDeal": {
                        "id": 20,
                        "flash_deal_id": 1,
                        "seller_product_id": 9,
                        "discount": 10,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:51:17.000000Z",
                        "updated_at": "2021-11-25T13:51:17.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "no",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 20,
                        "flash_deal_id": 1,
                        "seller_product_id": 9,
                        "discount": 10,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:51:17.000000Z",
                        "updated_at": "2021-11-25T13:51:17.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 11,
                        "product_name": null,
                        "product_type": 2,
                        "unit_type_id": 1,
                        "brand_id": 2,
                        "thumbnail_image_source": "uploads/images/25-11-2021/619f8b3e3225f.png",
                        "media_ids": "101,102,103,104",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "watch-005",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "1",
                        "discount": 0,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 5,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": "uploads/images/28-09-2021/6152b14790f38.jpeg",
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "men-casual-watch-005",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z",
                        "translateProductName": "Men Casual Watch 005",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 20,
                            "user_id": 1,
                            "product_id": 9,
                            "product_sku_id": "44",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 75,
                            "status": 1,
                            "created_at": "2021-09-28T12:09:01.000000Z",
                            "updated_at": "2021-11-24T17:02:14.000000Z",
                            "product_variations": [
                                {
                                    "id": 63,
                                    "product_id": 11,
                                    "product_sku_id": 44,
                                    "attribute_id": 1,
                                    "attribute_value_id": 4,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:08:07.000000Z",
                                    "updated_at": "2021-09-28T12:08:07.000000Z",
                                    "attribute_value": {
                                        "id": 4,
                                        "value": "#6aa84f",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 4,
                                            "attribute_value_id": 4,
                                            "name": "Green",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    },
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    }
                                }
                            ]
                        },
                        {
                            "id": 21,
                            "user_id": 1,
                            "product_id": 9,
                            "product_sku_id": "45",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 75,
                            "status": 1,
                            "created_at": "2021-09-28T12:09:01.000000Z",
                            "updated_at": "2021-11-24T17:02:14.000000Z",
                            "product_variations": [
                                {
                                    "id": 64,
                                    "product_id": 11,
                                    "product_sku_id": 45,
                                    "attribute_id": 1,
                                    "attribute_value_id": 5,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:08:07.000000Z",
                                    "updated_at": "2021-09-28T12:08:07.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 5,
                                        "value": "#ffd966",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 5,
                                            "attribute_value_id": 5,
                                            "name": "Yellow",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 22,
                            "user_id": 1,
                            "product_id": 9,
                            "product_sku_id": "46",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 75,
                            "status": 1,
                            "created_at": "2021-09-28T12:09:01.000000Z",
                            "updated_at": "2021-11-24T17:02:14.000000Z",
                            "product_variations": [
                                {
                                    "id": 65,
                                    "product_id": 11,
                                    "product_sku_id": 46,
                                    "attribute_id": 1,
                                    "attribute_value_id": 8,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:08:07.000000Z",
                                    "updated_at": "2021-09-28T12:08:07.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 8,
                                        "value": "#fce5cd",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 8,
                                            "attribute_value_id": 8,
                                            "name": "Golden",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 23,
                            "user_id": 1,
                            "product_id": 9,
                            "product_sku_id": "47",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 75,
                            "status": 1,
                            "created_at": "2021-09-28T12:09:01.000000Z",
                            "updated_at": "2021-11-24T17:02:14.000000Z",
                            "product_variations": [
                                {
                                    "id": 66,
                                    "product_id": 11,
                                    "product_sku_id": 47,
                                    "attribute_id": 1,
                                    "attribute_value_id": 33,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:08:07.000000Z",
                                    "updated_at": "2021-09-28T12:08:07.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 33,
                                        "value": "#6728a3",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                        "updated_at": "2021-09-28T10:09:06.000000Z",
                                        "color": {
                                            "id": 10,
                                            "attribute_value_id": 33,
                                            "name": "Purple",
                                            "created_at": "2021-09-28T10:09:06.000000Z",
                                            "updated_at": "2021-09-28T10:09:06.000000Z"
                                        }
                                    }
                                }
                            ]
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 19,
                "flash_deal_id": 1,
                "seller_product_id": 11,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:49:18.000000Z",
                "updated_at": "2021-11-25T13:49:18.000000Z",
                "product": {
                    "id": 11,
                    "user_id": 1,
                    "product_id": 14,
                    "tax": 0,
                    "tax_type": "0",
                    "discount": 0,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "casual-sun-glass",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 25,
                    "max_sell_price": 25,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "recent_view": "2022-10-19 16:06:15",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2022-10-24T09:58:12.000000Z",
                    "variantDetails": [
                        {
                            "value": [
                                "Red",
                                "Green",
                                "Yellow",
                                "Blue",
                                "Pink"
                            ],
                            "code": [
                                "red",
                                "#6aa84f",
                                "#ffd966",
                                "#258cd9",
                                "#fdb4b4"
                            ],
                            "attr_val_id": [
                                2,
                                4,
                                5,
                                7,
                                9
                            ],
                            "name": "Color",
                            "attr_id": 1
                        }
                    ],
                    "MaxSellingPrice": 25,
                    "hasDeal": {
                        "id": 19,
                        "flash_deal_id": 1,
                        "seller_product_id": 11,
                        "discount": 5,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:49:18.000000Z",
                        "updated_at": "2021-11-25T13:49:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "no",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 19,
                        "flash_deal_id": 1,
                        "seller_product_id": 11,
                        "discount": 5,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:49:18.000000Z",
                        "updated_at": "2021-11-25T13:49:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 14,
                        "product_name": null,
                        "product_type": 2,
                        "unit_type_id": 1,
                        "brand_id": 10,
                        "thumbnail_image_source": "uploads/images/03-10-2021/6159b7fa8faae.jpeg",
                        "media_ids": "14,15,16,17",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "csg-001",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "1",
                        "discount": 0,
                        "tax_type": "1",
                        "gst_group_id": null,
                        "tax": 0,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": "uploads/images/28-09-2021/6152ba09ecbd5.jpeg",
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "casual-sun-glass",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-28T12:45:29.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z",
                        "translateProductName": "Casual Sun Glass",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 29,
                            "user_id": 1,
                            "product_id": 11,
                            "product_sku_id": "63",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 25,
                            "status": 1,
                            "created_at": "2021-09-28T12:46:21.000000Z",
                            "updated_at": "2021-09-28T12:46:21.000000Z",
                            "product_variations": [
                                {
                                    "id": 82,
                                    "product_id": 14,
                                    "product_sku_id": 63,
                                    "attribute_id": 1,
                                    "attribute_value_id": 2,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:45:30.000000Z",
                                    "updated_at": "2021-09-28T12:45:30.000000Z",
                                    "attribute_value": {
                                        "id": 2,
                                        "value": "red",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-25T18:32:57.000000Z",
                                        "updated_at": "2021-09-25T18:32:57.000000Z",
                                        "color": {
                                            "id": 2,
                                            "attribute_value_id": 2,
                                            "name": "Red",
                                            "created_at": "2021-09-25T18:32:58.000000Z",
                                            "updated_at": "2021-09-25T18:32:58.000000Z"
                                        }
                                    },
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    }
                                }
                            ]
                        },
                        {
                            "id": 30,
                            "user_id": 1,
                            "product_id": 11,
                            "product_sku_id": "64",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 25,
                            "status": 1,
                            "created_at": "2021-09-28T12:46:21.000000Z",
                            "updated_at": "2021-09-28T12:46:21.000000Z",
                            "product_variations": [
                                {
                                    "id": 83,
                                    "product_id": 14,
                                    "product_sku_id": 64,
                                    "attribute_id": 1,
                                    "attribute_value_id": 4,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:45:30.000000Z",
                                    "updated_at": "2021-09-28T12:45:30.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 4,
                                        "value": "#6aa84f",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 4,
                                            "attribute_value_id": 4,
                                            "name": "Green",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 31,
                            "user_id": 1,
                            "product_id": 11,
                            "product_sku_id": "65",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 25,
                            "status": 1,
                            "created_at": "2021-09-28T12:46:21.000000Z",
                            "updated_at": "2021-09-28T12:46:21.000000Z",
                            "product_variations": [
                                {
                                    "id": 84,
                                    "product_id": 14,
                                    "product_sku_id": 65,
                                    "attribute_id": 1,
                                    "attribute_value_id": 5,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:45:30.000000Z",
                                    "updated_at": "2021-09-28T12:45:30.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 5,
                                        "value": "#ffd966",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 5,
                                            "attribute_value_id": 5,
                                            "name": "Yellow",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 32,
                            "user_id": 1,
                            "product_id": 11,
                            "product_sku_id": "66",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 25,
                            "status": 1,
                            "created_at": "2021-09-28T12:46:21.000000Z",
                            "updated_at": "2021-09-28T12:46:21.000000Z",
                            "product_variations": [
                                {
                                    "id": 85,
                                    "product_id": 14,
                                    "product_sku_id": 66,
                                    "attribute_id": 1,
                                    "attribute_value_id": 7,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:45:30.000000Z",
                                    "updated_at": "2021-09-28T12:45:30.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 7,
                                        "value": "#258cd9",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 7,
                                            "attribute_value_id": 7,
                                            "name": "Blue",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        },
                        {
                            "id": 33,
                            "user_id": 1,
                            "product_id": 11,
                            "product_sku_id": "67",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 25,
                            "status": 1,
                            "created_at": "2021-09-28T12:46:21.000000Z",
                            "updated_at": "2021-09-28T12:46:21.000000Z",
                            "product_variations": [
                                {
                                    "id": 86,
                                    "product_id": 14,
                                    "product_sku_id": 67,
                                    "attribute_id": 1,
                                    "attribute_value_id": 9,
                                    "created_by": null,
                                    "updated_by": null,
                                    "created_at": "2021-09-28T12:45:30.000000Z",
                                    "updated_at": "2021-09-28T12:45:30.000000Z",
                                    "attribute": {
                                        "id": 1,
                                        "name": null,
                                        "display_type": "radio_button",
                                        "description": null,
                                        "status": 1,
                                        "created_by": null,
                                        "updated_by": 1,
                                        "created_at": "2018-11-05T02:12:26.000000Z",
                                        "updated_at": "2022-06-15T04:57:42.000000Z"
                                    },
                                    "attribute_value": {
                                        "id": 9,
                                        "value": "#fdb4b4",
                                        "attribute_id": 1,
                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                        "updated_at": "2021-09-26T11:44:20.000000Z",
                                        "color": {
                                            "id": 9,
                                            "attribute_value_id": 9,
                                            "name": "Pink",
                                            "created_at": "2021-09-26T11:44:20.000000Z",
                                            "updated_at": "2021-09-26T11:44:20.000000Z"
                                        }
                                    }
                                }
                            ]
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 18,
                "flash_deal_id": 1,
                "seller_product_id": 80,
                "discount": 30,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:19:25.000000Z",
                "updated_at": "2021-11-25T13:19:25.000000Z",
                "product": {
                    "id": 80,
                    "user_id": 1,
                    "product_id": 84,
                    "tax": 0,
                    "tax_type": "1",
                    "discount": 25,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "apple-care-protection-for-mac-2022",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 1,
                    "min_sell_price": 70,
                    "max_sell_price": 70,
                    "total_sale": 3,
                    "avg_rating": 0,
                    "recent_view": "2022-07-05 17:27:48",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-11-24T18:05:33.000000Z",
                    "updated_at": "2022-07-05T11:28:48.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 70,
                    "hasDeal": {
                        "id": 18,
                        "flash_deal_id": 1,
                        "seller_product_id": 80,
                        "discount": 30,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:19:25.000000Z",
                        "updated_at": "2021-11-25T13:19:25.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 18,
                        "flash_deal_id": 1,
                        "seller_product_id": 80,
                        "discount": 30,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-11-25T13:19:25.000000Z",
                        "updated_at": "2021-11-25T13:19:25.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 84,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 27,
                        "thumbnail_image_source": "uploads/images/24-11-2021/619e2a8d6ee90.png",
                        "media_ids": "85",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "iprod-009",
                        "shipping_type": 1,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 25,
                        "tax_type": "1",
                        "gst_group_id": null,
                        "tax": 0,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 0,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "apple-care-protection-for-mac-2022",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-11-24T18:05:33.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z",
                        "translateProductName": "Apple care protection for mac 2022",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 194,
                            "user_id": 1,
                            "product_id": 80,
                            "product_sku_id": "169",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 70,
                            "status": 1,
                            "created_at": "2021-11-24T18:05:33.000000Z",
                            "updated_at": "2021-11-24T18:05:33.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 3,
                "flash_deal_id": 1,
                "seller_product_id": 3,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "product": {
                    "id": 3,
                    "user_id": 1,
                    "product_id": 3,
                    "tax": 5,
                    "tax_type": "0",
                    "discount": 5,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "exclusive-watch-1",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 65,
                    "max_sell_price": 65,
                    "total_sale": 2,
                    "avg_rating": 4.5,
                    "recent_view": "2022-10-14 14:33:18",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-26T12:20:50.000000Z",
                    "updated_at": "2022-10-14T08:33:18.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 65,
                    "hasDeal": {
                        "id": 3,
                        "flash_deal_id": 1,
                        "seller_product_id": 3,
                        "discount": 5,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 3,
                        "flash_deal_id": 1,
                        "seller_product_id": 3,
                        "discount": 5,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 3,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 2,
                        "thumbnail_image_source": "uploads/images/23-11-2021/619cc910dc4c9.png",
                        "media_ids": "42",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "watch-001",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 0,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 0,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 1,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "exclusive-watch-1",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-26T12:02:10.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z",
                        "translateProductName": "Exclusive watch 1",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 3,
                            "user_id": 1,
                            "product_id": 3,
                            "product_sku_id": "3",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 65,
                            "status": 1,
                            "created_at": "2021-09-26T12:20:50.000000Z",
                            "updated_at": "2021-11-23T16:57:21.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 4,
                "flash_deal_id": 1,
                "seller_product_id": 4,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "product": {
                    "id": 4,
                    "user_id": 1,
                    "product_id": 4,
                    "tax": 5,
                    "tax_type": "0",
                    "discount": 5,
                    "discount_type": "1",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "exclisive-watch-2",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 40,
                    "max_sell_price": 40,
                    "total_sale": 6,
                    "avg_rating": 0,
                    "recent_view": "2022-08-02 16:22:35",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-26T12:21:30.000000Z",
                    "updated_at": "2022-08-16T07:44:37.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 40,
                    "hasDeal": {
                        "id": 4,
                        "flash_deal_id": 1,
                        "seller_product_id": 4,
                        "discount": 5,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 4,
                        "flash_deal_id": 1,
                        "seller_product_id": 4,
                        "discount": 5,
                        "discount_type": 1,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 4,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 2,
                        "thumbnail_image_source": "uploads/images/23-11-2021/619cc97a56fd9.png",
                        "media_ids": "43",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": "watch-002",
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 0,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 5,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": null,
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 2,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "exclisive-watch-2",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-26T12:04:19.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z",
                        "translateProductName": "Exclisive watch 2",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 4,
                            "user_id": 1,
                            "product_id": 4,
                            "product_sku_id": "4",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 40,
                            "status": 1,
                            "created_at": "2021-09-26T12:21:30.000000Z",
                            "updated_at": "2021-11-23T16:59:06.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            },
            {
                "id": 6,
                "flash_deal_id": 1,
                "seller_product_id": 6,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "product": {
                    "id": 6,
                    "user_id": 1,
                    "product_id": 7,
                    "tax": 3,
                    "tax_type": "0",
                    "discount": 5,
                    "discount_type": "0",
                    "discount_start_date": null,
                    "discount_end_date": null,
                    "product_name": null,
                    "slug": "new-look-casual-shoe",
                    "thum_img": null,
                    "status": 1,
                    "stock_manage": 0,
                    "is_approved": 0,
                    "min_sell_price": 50,
                    "max_sell_price": 50,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "recent_view": "2022-08-16 15:27:03",
                    "subtitle_1": null,
                    "subtitle_2": null,
                    "created_at": "2021-09-28T10:58:05.000000Z",
                    "updated_at": "2022-08-16T09:27:03.000000Z",
                    "variantDetails": [],
                    "MaxSellingPrice": 50,
                    "hasDeal": {
                        "id": 6,
                        "flash_deal_id": 1,
                        "seller_product_id": 6,
                        "discount": 5,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "rating": 0,
                    "hasDiscount": "yes",
                    "ProductType": "product",
                    "flash_deal": {
                        "id": 6,
                        "flash_deal_id": 1,
                        "seller_product_id": 6,
                        "discount": 5,
                        "discount_type": 0,
                        "status": 1,
                        "created_at": "2021-09-28T14:05:36.000000Z",
                        "updated_at": "2021-09-28T14:06:18.000000Z",
                        "flash_deal": {
                            "id": 1,
                            "title": "Eid Flash Sale",
                            "background_color": "white",
                            "text_color": "#5b5b5b",
                            "start_date": "2022-09-01",
                            "end_date": "2023-04-30",
                            "slug": "eid-flash-sale-xiaiq",
                            "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                            "status": 1,
                            "is_featured": 1,
                            "created_by": 1,
                            "updated_by": 1,
                            "created_at": "2021-09-28T14:05:36.000000Z",
                            "updated_at": "2022-09-13T09:32:47.000000Z"
                        }
                    },
                    "product": {
                        "id": 7,
                        "product_name": null,
                        "product_type": 1,
                        "unit_type_id": 1,
                        "brand_id": 6,
                        "thumbnail_image_source": "uploads/images/23-11-2021/619ccc242de83.png",
                        "media_ids": "48",
                        "barcode_type": "C39",
                        "mpn": null,
                        "gtin": null,
                        "condition": null,
                        "model_number": null,
                        "shipping_type": 0,
                        "shipping_cost": 0,
                        "discount_type": "0",
                        "discount": 10,
                        "tax_type": "0",
                        "gst_group_id": null,
                        "tax": 5,
                        "pdf": null,
                        "video_provider": "youtube",
                        "video_link": null,
                        "description": null,
                        "specification": null,
                        "minimum_order_qty": 1,
                        "max_order_qty": null,
                        "meta_title": null,
                        "meta_description": null,
                        "meta_image": "uploads/images/23-11-2021/619ccc245cfc9.png",
                        "is_physical": 1,
                        "is_approved": 1,
                        "status": 1,
                        "display_in_details": 2,
                        "requested_by": 1,
                        "created_by": 1,
                        "slug": "new-look-casual-shoe",
                        "stock_manage": 0,
                        "subtitle_1": null,
                        "subtitle_2": null,
                        "auto_update": 0,
                        "gold_price_id": null,
                        "making_charge": 0,
                        "updated_by": 1,
                        "created_at": "2021-09-28T10:47:15.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z",
                        "translateProductName": "New Look Casual Shoe",
                        "TranslateProductSubtitle1": null,
                        "TranslateProductSubtitle2": null
                    },
                    "skus": [
                        {
                            "id": 6,
                            "user_id": 1,
                            "product_id": 6,
                            "product_sku_id": "11",
                            "product_stock": 0,
                            "purchase_price": 0,
                            "selling_price": 50,
                            "status": 1,
                            "created_at": "2021-09-28T10:58:05.000000Z",
                            "updated_at": "2021-11-23T20:20:29.000000Z",
                            "product_variations": []
                        }
                    ],
                    "reviews": []
                }
            }
        ]
    },
    "top_picks": [
        {
            "id": 1,
            "user_id": 1,
            "product_id": 1,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "exclusive-bag-22k",
            "thum_img": null,
            "status": 1,
            "stock_manage": 1,
            "is_approved": 0,
            "min_sell_price": 3500,
            "max_sell_price": 3500,
            "total_sale": 1,
            "avg_rating": 3.5,
            "recent_view": "2022-07-20 11:49:19",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-26T12:12:09.000000Z",
            "updated_at": "2022-08-16T12:30:25.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 3500,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "product": {
                "id": 1,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": null,
                "thumbnail_image_source": "uploads/images/23-11-2021/619cc75f84a1e.png",
                "media_ids": "40",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "bg-001",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 5,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 3,
                "max_order_qty": 10,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "exclusive-bag-22k",
                "stock_manage": 1,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 1,
                "gold_price_id": 2,
                "making_charge": 10,
                "updated_by": 1,
                "created_at": "2021-09-26T11:57:31.000000Z",
                "updated_at": "2022-04-28T08:25:15.000000Z",
                "translateProductName": "Exclusive Bag 22k",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 1,
                        "product_id": 1,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T11:57:31.000000Z",
                        "updated_at": "2021-09-26T11:57:31.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 2,
                        "product_id": 1,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T11:57:31.000000Z",
                        "updated_at": "2021-09-26T11:57:31.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 131,
                        "product_id": 1,
                        "images_source": "uploads/images/23-11-2021/619cc75f97c94.png",
                        "media_id": 40,
                        "created_at": "2021-11-23T16:50:07.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z"
                    }
                ],
                "brand": [],
                "categories": [
                    {
                        "id": 1,
                        "name": null,
                        "slug": "women-fashion",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-female",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-09-26T11:39:08.000000Z",
                        "updated_at": "2022-05-09T04:59:55.000000Z",
                        "translateName": "Women Fashion",
                        "pivot": {
                            "product_id": 1,
                            "category_id": 1
                        }
                    },
                    {
                        "id": 3,
                        "name": null,
                        "slug": "bags",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-shopping-bag",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-26T11:40:17.000000Z",
                        "updated_at": "2021-09-26T11:40:17.000000Z",
                        "translateName": "Bags",
                        "pivot": {
                            "product_id": 1,
                            "category_id": 3
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 1,
                        "product_id": 1,
                        "sku": "ex-bag-1",
                        "purchase_price": 0,
                        "selling_price": 3000,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 15,
                        "track_sku": "ex-bag-1",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-26T11:57:31.000000Z",
                        "updated_at": "2022-08-16T06:29:26.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 64,
                        "name": "exclusive bag",
                        "url": null,
                        "created_at": "2021-11-23T16:50:07.000000Z",
                        "updated_at": "2021-11-23T16:50:07.000000Z",
                        "pivot": {
                            "product_id": 1,
                            "tag_id": 64
                        }
                    },
                    {
                        "id": 65,
                        "name": "women bag",
                        "url": null,
                        "created_at": "2021-11-23T16:50:07.000000Z",
                        "updated_at": "2021-11-23T16:50:07.000000Z",
                        "pivot": {
                            "product_id": 1,
                            "tag_id": 65
                        }
                    },
                    {
                        "id": 66,
                        "name": "bag",
                        "url": null,
                        "created_at": "2021-11-23T16:50:07.000000Z",
                        "updated_at": "2021-11-23T16:50:07.000000Z",
                        "pivot": {
                            "product_id": 1,
                            "tag_id": 66
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 1,
                    "user_id": 1,
                    "product_id": 1,
                    "product_sku_id": "1",
                    "product_stock": 15,
                    "purchase_price": 0,
                    "selling_price": 3500,
                    "status": 1,
                    "created_at": "2021-09-26T12:12:09.000000Z",
                    "updated_at": "2022-08-16T12:30:25.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 2,
            "user_id": 1,
            "product_id": 2,
            "tax": 5,
            "tax_type": "0",
            "discount": 8,
            "discount_type": "0",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "exclsive-bag-2",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 22,
            "max_sell_price": 22,
            "total_sale": 3,
            "avg_rating": 2.5,
            "recent_view": "2022-07-15 13:08:42",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-26T12:12:52.000000Z",
            "updated_at": "2022-08-16T07:44:37.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 22,
            "hasDeal": {
                "id": 2,
                "flash_deal_id": 1,
                "seller_product_id": 2,
                "discount": 8,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": {
                "id": 2,
                "flash_deal_id": 1,
                "seller_product_id": 2,
                "discount": 8,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 2,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 3,
                "thumbnail_image_source": "uploads/images/23-11-2021/619cc87d7070e.png",
                "media_ids": "41",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "bg-002",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "0",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "exclsive-bag-2",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-26T11:59:33.000000Z",
                "updated_at": "2022-04-07T15:37:06.000000Z",
                "translateProductName": "Exclsive Bag 2",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 3,
                        "product_id": 2,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T11:59:33.000000Z",
                        "updated_at": "2021-09-26T11:59:33.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 4,
                        "product_id": 2,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T11:59:33.000000Z",
                        "updated_at": "2021-09-26T11:59:33.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 132,
                        "product_id": 2,
                        "images_source": "uploads/images/23-11-2021/619cc87d841aa.png",
                        "media_id": 41,
                        "created_at": "2021-11-23T16:54:53.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z"
                    }
                ],
                "brand": {
                    "id": 3,
                    "name": null,
                    "logo": "uploads/images/24-11-2021/619e23af4ba0e.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 0,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 6,
                    "avg_rating": 0,
                    "slug": "asgardia",
                    "created_by": null,
                    "updated_by": 4,
                    "created_at": "2021-09-26T11:55:00.000000Z",
                    "updated_at": "2021-12-12T00:30:42.000000Z"
                },
                "categories": [
                    {
                        "id": 1,
                        "name": null,
                        "slug": "women-fashion",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-female",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-09-26T11:39:08.000000Z",
                        "updated_at": "2022-05-09T04:59:55.000000Z",
                        "translateName": "Women Fashion",
                        "pivot": {
                            "product_id": 2,
                            "category_id": 1
                        }
                    },
                    {
                        "id": 3,
                        "name": null,
                        "slug": "bags",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-shopping-bag",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-26T11:40:17.000000Z",
                        "updated_at": "2021-09-26T11:40:17.000000Z",
                        "translateName": "Bags",
                        "pivot": {
                            "product_id": 2,
                            "category_id": 3
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 2,
                        "product_id": 2,
                        "sku": "ex-bg-2",
                        "purchase_price": 0,
                        "selling_price": 22,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "ex-bg-2",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-26T11:59:33.000000Z",
                        "updated_at": "2021-09-26T11:59:33.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 69,
                        "name": "exclusive baf",
                        "url": null,
                        "created_at": "2021-11-23T16:54:53.000000Z",
                        "updated_at": "2021-11-23T16:54:53.000000Z",
                        "pivot": {
                            "product_id": 2,
                            "tag_id": 69
                        }
                    },
                    {
                        "id": 70,
                        "name": "female bag",
                        "url": null,
                        "created_at": "2021-11-23T16:54:53.000000Z",
                        "updated_at": "2021-11-23T16:54:53.000000Z",
                        "pivot": {
                            "product_id": 2,
                            "tag_id": 70
                        }
                    },
                    {
                        "id": 66,
                        "name": "bag",
                        "url": null,
                        "created_at": "2021-11-23T16:50:07.000000Z",
                        "updated_at": "2021-11-23T16:50:07.000000Z",
                        "pivot": {
                            "product_id": 2,
                            "tag_id": 66
                        }
                    },
                    {
                        "id": 71,
                        "name": "bags",
                        "url": null,
                        "created_at": "2021-11-23T16:54:53.000000Z",
                        "updated_at": "2021-11-23T16:54:53.000000Z",
                        "pivot": {
                            "product_id": 2,
                            "tag_id": 71
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 2,
                    "user_id": 1,
                    "product_id": 2,
                    "product_sku_id": "2",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 22,
                    "status": 1,
                    "created_at": "2021-09-26T12:12:52.000000Z",
                    "updated_at": "2021-11-23T16:54:53.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 3,
            "user_id": 1,
            "product_id": 3,
            "tax": 5,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "exclusive-watch-1",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 65,
            "max_sell_price": 65,
            "total_sale": 2,
            "avg_rating": 4.5,
            "recent_view": "2022-10-14 14:33:18",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-26T12:20:50.000000Z",
            "updated_at": "2022-10-14T08:33:18.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 65,
            "hasDeal": {
                "id": 3,
                "flash_deal_id": 1,
                "seller_product_id": 3,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": {
                "id": 3,
                "flash_deal_id": 1,
                "seller_product_id": 3,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 3,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 2,
                "thumbnail_image_source": "uploads/images/23-11-2021/619cc910dc4c9.png",
                "media_ids": "42",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "watch-001",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "0",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "exclusive-watch-1",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-26T12:02:10.000000Z",
                "updated_at": "2022-04-07T15:37:06.000000Z",
                "translateProductName": "Exclusive watch 1",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 5,
                        "product_id": 3,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T12:02:10.000000Z",
                        "updated_at": "2021-09-26T12:02:10.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 6,
                        "product_id": 3,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T12:02:10.000000Z",
                        "updated_at": "2021-09-26T12:02:10.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 133,
                        "product_id": 3,
                        "images_source": "uploads/images/23-11-2021/619cc910ebaac.png",
                        "media_id": 42,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z"
                    }
                ],
                "brand": {
                    "id": 2,
                    "name": null,
                    "logo": "uploads/images/16-05-2022/6281f11ed9f27.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 14,
                    "avg_rating": 0,
                    "slug": "casio",
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:42:40.000000Z",
                    "updated_at": "2022-09-22T13:17:04.000000Z"
                },
                "categories": [
                    {
                        "id": 4,
                        "name": null,
                        "slug": "watch",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "far fa-clock",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 1,
                        "avg_rating": 0,
                        "commission_rate": 6,
                        "created_at": "2021-09-26T11:40:46.000000Z",
                        "updated_at": "2021-10-13T16:57:04.000000Z",
                        "translateName": "Watch",
                        "pivot": {
                            "product_id": 3,
                            "category_id": 4
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 3,
                        "product_id": 3,
                        "sku": "watch-001",
                        "purchase_price": 0,
                        "selling_price": 65,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "watch-001",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-26T12:02:10.000000Z",
                        "updated_at": "2021-09-26T12:02:10.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 73,
                        "name": "watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 3,
                            "tag_id": 73
                        }
                    },
                    {
                        "id": 74,
                        "name": "exclusive watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 3,
                            "tag_id": 74
                        }
                    },
                    {
                        "id": 75,
                        "name": "digital watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 3,
                            "tag_id": 75
                        }
                    },
                    {
                        "id": 76,
                        "name": "men watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 3,
                            "tag_id": 76
                        }
                    },
                    {
                        "id": 77,
                        "name": "casual watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 3,
                            "tag_id": 77
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 3,
                    "user_id": 1,
                    "product_id": 3,
                    "product_sku_id": "3",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 65,
                    "status": 1,
                    "created_at": "2021-09-26T12:20:50.000000Z",
                    "updated_at": "2021-11-23T16:57:21.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 4,
            "user_id": 1,
            "product_id": 4,
            "tax": 5,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "exclisive-watch-2",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 40,
            "max_sell_price": 40,
            "total_sale": 6,
            "avg_rating": 0,
            "recent_view": "2022-08-02 16:22:35",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-26T12:21:30.000000Z",
            "updated_at": "2022-08-16T07:44:37.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 40,
            "hasDeal": {
                "id": 4,
                "flash_deal_id": 1,
                "seller_product_id": 4,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": {
                "id": 4,
                "flash_deal_id": 1,
                "seller_product_id": 4,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 4,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 2,
                "thumbnail_image_source": "uploads/images/23-11-2021/619cc97a56fd9.png",
                "media_ids": "43",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "watch-002",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "0",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 5,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 2,
                "requested_by": 1,
                "created_by": 1,
                "slug": "exclisive-watch-2",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-26T12:04:19.000000Z",
                "updated_at": "2022-04-07T15:37:06.000000Z",
                "translateProductName": "Exclisive watch 2",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 7,
                        "product_id": 4,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T12:04:19.000000Z",
                        "updated_at": "2021-09-26T12:04:19.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 8,
                        "product_id": 4,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T12:04:19.000000Z",
                        "updated_at": "2021-09-26T12:04:19.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 134,
                        "product_id": 4,
                        "images_source": "uploads/images/23-11-2021/619cc97a6374b.png",
                        "media_id": 43,
                        "created_at": "2021-11-23T16:59:06.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z"
                    }
                ],
                "brand": {
                    "id": 2,
                    "name": null,
                    "logo": "uploads/images/16-05-2022/6281f11ed9f27.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 14,
                    "avg_rating": 0,
                    "slug": "casio",
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:42:40.000000Z",
                    "updated_at": "2022-09-22T13:17:04.000000Z"
                },
                "categories": [
                    {
                        "id": 4,
                        "name": null,
                        "slug": "watch",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "far fa-clock",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 1,
                        "avg_rating": 0,
                        "commission_rate": 6,
                        "created_at": "2021-09-26T11:40:46.000000Z",
                        "updated_at": "2021-10-13T16:57:04.000000Z",
                        "translateName": "Watch",
                        "pivot": {
                            "product_id": 4,
                            "category_id": 4
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 4,
                        "product_id": 4,
                        "sku": "watch-002",
                        "purchase_price": 0,
                        "selling_price": 40,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "watch-002",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-26T12:04:19.000000Z",
                        "updated_at": "2021-09-26T12:04:19.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 73,
                        "name": "watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 4,
                            "tag_id": 73
                        }
                    },
                    {
                        "id": 74,
                        "name": "exclusive watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 4,
                            "tag_id": 74
                        }
                    },
                    {
                        "id": 77,
                        "name": "casual watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 4,
                            "tag_id": 77
                        }
                    },
                    {
                        "id": 76,
                        "name": "men watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 4,
                            "tag_id": 76
                        }
                    },
                    {
                        "id": 78,
                        "name": "mens watch",
                        "url": null,
                        "created_at": "2021-11-23T16:59:06.000000Z",
                        "updated_at": "2021-11-23T16:59:06.000000Z",
                        "pivot": {
                            "product_id": 4,
                            "tag_id": 78
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 4,
                    "user_id": 1,
                    "product_id": 4,
                    "product_sku_id": "4",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 40,
                    "status": 1,
                    "created_at": "2021-09-26T12:21:30.000000Z",
                    "updated_at": "2021-11-23T16:59:06.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 5,
            "user_id": 1,
            "product_id": 5,
            "tax": 10,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "ktm-rc-390",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 5000,
            "max_sell_price": 5000,
            "total_sale": 1,
            "avg_rating": 0,
            "recent_view": "2022-09-13 20:00:36",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-26T12:34:27.000000Z",
            "updated_at": "2022-09-13T14:00:36.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 5000,
            "hasDeal": {
                "id": 5,
                "flash_deal_id": 1,
                "seller_product_id": 5,
                "discount": 200,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": {
                "id": 5,
                "flash_deal_id": 1,
                "seller_product_id": 5,
                "discount": 200,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 5,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 4,
                "thumbnail_image_source": "uploads/images/25-11-2021/619f87c36058c.png",
                "media_ids": "96,97",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "ktm-rc-390",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 10,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": 10,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "ktm-rc-390",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-26T12:28:57.000000Z",
                "updated_at": "2022-04-07T15:37:08.000000Z",
                "translateProductName": "KTM RC 390",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 9,
                        "product_id": 5,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-26T12:28:57.000000Z",
                        "updated_at": "2021-09-26T12:28:57.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 192,
                        "product_id": 5,
                        "images_source": "uploads/images/25-11-2021/619f87c37036c.png",
                        "media_id": 96,
                        "created_at": "2021-11-25T18:55:31.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    },
                    {
                        "id": 193,
                        "product_id": 5,
                        "images_source": "uploads/images/25-11-2021/619f87c391262.png",
                        "media_id": 97,
                        "created_at": "2021-11-25T18:55:31.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    }
                ],
                "brand": {
                    "id": 4,
                    "name": null,
                    "logo": "uploads/images/24-11-2021/619e23d2b0a5c.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "slug": "aven",
                    "created_by": null,
                    "updated_by": 4,
                    "created_at": "2021-09-26T12:26:39.000000Z",
                    "updated_at": "2021-11-28T10:02:55.000000Z"
                },
                "categories": [
                    {
                        "id": 5,
                        "name": null,
                        "slug": "bikes",
                        "parent_id": 11,
                        "depth_level": 2,
                        "icon": "fas fa-motorcycle",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 2,
                        "created_at": "2021-09-26T12:26:21.000000Z",
                        "updated_at": "2021-10-24T09:43:20.000000Z",
                        "translateName": "Bikes",
                        "pivot": {
                            "product_id": 5,
                            "category_id": 5
                        }
                    },
                    {
                        "id": 11,
                        "name": null,
                        "slug": "automobiles-bikes",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-car-alt",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 3,
                        "created_at": "2021-09-28T12:13:01.000000Z",
                        "updated_at": "2021-09-28T12:13:01.000000Z",
                        "translateName": "Automobiles & bikes",
                        "pivot": {
                            "product_id": 5,
                            "category_id": 11
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 5,
                        "product_id": 5,
                        "sku": "ktm-rc-390",
                        "purchase_price": 0,
                        "selling_price": 5000,
                        "additional_shipping": 30,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "ktm-rc-390",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-26T12:28:57.000000Z",
                        "updated_at": "2021-11-25T19:59:02.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 116,
                        "name": "motor bike",
                        "url": null,
                        "created_at": "2021-11-23T20:26:04.000000Z",
                        "updated_at": "2021-11-23T20:26:04.000000Z",
                        "pivot": {
                            "product_id": 5,
                            "tag_id": 116
                        }
                    },
                    {
                        "id": 195,
                        "name": "ktm bike",
                        "url": null,
                        "created_at": "2021-11-25T18:55:31.000000Z",
                        "updated_at": "2021-11-25T18:55:31.000000Z",
                        "pivot": {
                            "product_id": 5,
                            "tag_id": 195
                        }
                    },
                    {
                        "id": 196,
                        "name": "sports bike",
                        "url": null,
                        "created_at": "2021-11-25T18:55:31.000000Z",
                        "updated_at": "2021-11-25T18:55:31.000000Z",
                        "pivot": {
                            "product_id": 5,
                            "tag_id": 196
                        }
                    },
                    {
                        "id": 197,
                        "name": "motorcycle",
                        "url": null,
                        "created_at": "2021-11-25T18:55:31.000000Z",
                        "updated_at": "2021-11-25T18:55:31.000000Z",
                        "pivot": {
                            "product_id": 5,
                            "tag_id": 197
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 5,
                    "user_id": 1,
                    "product_id": 5,
                    "product_sku_id": "5",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 5000,
                    "status": 1,
                    "created_at": "2021-09-26T12:34:27.000000Z",
                    "updated_at": "2021-11-25T18:55:31.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 6,
            "user_id": 1,
            "product_id": 7,
            "tax": 3,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "0",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "new-look-casual-shoe",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 50,
            "max_sell_price": 50,
            "total_sale": 1,
            "avg_rating": 0,
            "recent_view": "2022-08-16 15:27:03",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-28T10:58:05.000000Z",
            "updated_at": "2022-08-16T09:27:03.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 50,
            "hasDeal": {
                "id": 6,
                "flash_deal_id": 1,
                "seller_product_id": 6,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": {
                "id": 6,
                "flash_deal_id": 1,
                "seller_product_id": 6,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 7,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 6,
                "thumbnail_image_source": "uploads/images/23-11-2021/619ccc242de83.png",
                "media_ids": "48",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "0",
                "discount": 10,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 5,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/23-11-2021/619ccc245cfc9.png",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 2,
                "requested_by": 1,
                "created_by": 1,
                "slug": "new-look-casual-shoe",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-28T10:47:15.000000Z",
                "updated_at": "2022-04-07T15:37:06.000000Z",
                "translateProductName": "New Look Casual Shoe",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 12,
                        "product_id": 7,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T10:47:15.000000Z",
                        "updated_at": "2021-09-28T10:47:15.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 13,
                        "product_id": 7,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T10:47:15.000000Z",
                        "updated_at": "2021-09-28T10:47:15.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [],
                "cross_sales": [],
                "related_products": [],
                "gallary_images": [
                    {
                        "id": 139,
                        "product_id": 7,
                        "images_source": "uploads/images/23-11-2021/619ccc243e0e9.png",
                        "media_id": 48,
                        "created_at": "2021-11-23T17:10:28.000000Z",
                        "updated_at": "2022-04-07T15:37:06.000000Z"
                    }
                ],
                "brand": {
                    "id": 6,
                    "name": null,
                    "logo": "uploads/images/24-11-2021/619e242eb71ad.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 6,
                    "avg_rating": 0,
                    "slug": "adidas",
                    "created_by": null,
                    "updated_by": 44,
                    "created_at": "2021-09-28T10:44:39.000000Z",
                    "updated_at": "2022-10-27T10:50:29.000000Z"
                },
                "categories": [
                    {
                        "id": 6,
                        "name": null,
                        "slug": "shoes",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-shoe-prints",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T10:37:23.000000Z",
                        "updated_at": "2021-09-28T10:37:23.000000Z",
                        "translateName": "Shoes",
                        "pivot": {
                            "product_id": 7,
                            "category_id": 6
                        }
                    },
                    {
                        "id": 7,
                        "name": null,
                        "slug": "men-shoes",
                        "parent_id": 6,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 2,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T10:38:09.000000Z",
                        "updated_at": "2021-10-13T16:52:29.000000Z",
                        "translateName": "Men Shoes",
                        "pivot": {
                            "product_id": 7,
                            "category_id": 7
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [],
                "skus": [
                    {
                        "id": 11,
                        "product_id": 7,
                        "sku": "768458578",
                        "purchase_price": 0,
                        "selling_price": 50,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "768458578",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T10:47:15.000000Z",
                        "updated_at": "2021-11-23T20:20:29.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 80,
                        "name": "men shoe",
                        "url": null,
                        "created_at": "2021-11-23T17:10:28.000000Z",
                        "updated_at": "2021-11-23T17:10:28.000000Z",
                        "pivot": {
                            "product_id": 7,
                            "tag_id": 80
                        }
                    },
                    {
                        "id": 37,
                        "name": "casual shoe",
                        "url": null,
                        "created_at": "2021-10-26T07:58:28.000000Z",
                        "updated_at": "2021-10-26T07:58:28.000000Z",
                        "pivot": {
                            "product_id": 7,
                            "tag_id": 37
                        }
                    },
                    {
                        "id": 36,
                        "name": "shoe",
                        "url": null,
                        "created_at": "2021-10-26T07:58:28.000000Z",
                        "updated_at": "2021-10-26T07:58:28.000000Z",
                        "pivot": {
                            "product_id": 7,
                            "tag_id": 36
                        }
                    },
                    {
                        "id": 81,
                        "name": "boots",
                        "url": null,
                        "created_at": "2021-11-23T17:10:28.000000Z",
                        "updated_at": "2021-11-23T17:10:28.000000Z",
                        "pivot": {
                            "product_id": 7,
                            "tag_id": 81
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 6,
                    "user_id": 1,
                    "product_id": 6,
                    "product_sku_id": "11",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 50,
                    "status": 1,
                    "created_at": "2021-09-28T10:58:05.000000Z",
                    "updated_at": "2021-11-23T20:20:29.000000Z",
                    "product_variations": []
                }
            ],
            "reviews": []
        },
        {
            "id": 8,
            "user_id": 1,
            "product_id": 9,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "0",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "living-room-sofa-001",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 4,
            "avg_rating": 0,
            "recent_view": "2022-09-02 15:42:16",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-28T11:44:07.000000Z",
            "updated_at": "2022-10-24T09:54:50.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "Green",
                        "Yellow",
                        "Blue",
                        "Pink"
                    ],
                    "code": [
                        "#6aa84f",
                        "#ffd966",
                        "#258cd9",
                        "#fdb4b4"
                    ],
                    "attr_val_id": [
                        4,
                        5,
                        7,
                        9
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 100,
            "hasDeal": {
                "id": 7,
                "flash_deal_id": 1,
                "seller_product_id": 8,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": {
                "id": 7,
                "flash_deal_id": 1,
                "seller_product_id": 8,
                "discount": 5,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-09-28T14:06:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 9,
                "product_name": null,
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 7,
                "thumbnail_image_source": "uploads/images/03-10-2021/6159b76b5d2b9.png",
                "media_ids": "1,2,3,4",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "sofa-001",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "0",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 5,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": 10,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/28-09-2021/6152a9385ab8e.png",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "living-room-sofa-001",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-28T11:33:44.000000Z",
                "updated_at": "2022-04-07T15:37:05.000000Z",
                "translateProductName": "Living Room Sofa 001",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 16,
                        "product_id": 9,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 17,
                        "product_id": 9,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [
                    {
                        "id": 56,
                        "product_id": 9,
                        "up_sale_product_id": 81,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 77,
                                "user_id": 1,
                                "product_id": 81,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "single-seater-sofa-premium-quality-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 120,
                                "max_sell_price": 120,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:44:51",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:36:26.000000Z",
                                "updated_at": "2022-06-09T06:44:51.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 120,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 189,
                                        "user_id": 1,
                                        "product_id": 77,
                                        "product_sku_id": "164",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 120,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:36:26.000000Z",
                                        "updated_at": "2021-11-24T16:36:26.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 57,
                        "product_id": 9,
                        "up_sale_product_id": 80,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 76,
                                "user_id": 1,
                                "product_id": 80,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "beautiful-single-size-sofa-0099",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 80,
                                "max_sell_price": 80,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:42:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:29:41.000000Z",
                                "updated_at": "2022-09-02T09:42:23.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Gray",
                                            "Blue",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#999999",
                                            "#258cd9",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            6,
                                            7,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 80,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 186,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "161",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 146,
                                                "product_id": 80,
                                                "product_sku_id": 161,
                                                "attribute_id": 1,
                                                "attribute_value_id": 6,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute_value": {
                                                    "id": 6,
                                                    "value": "#999999",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 6,
                                                        "attribute_value_id": 6,
                                                        "name": "Gray",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 187,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "162",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 147,
                                                "product_id": 80,
                                                "product_sku_id": 162,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 188,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "163",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 148,
                                                "product_id": 80,
                                                "product_sku_id": 163,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 58,
                        "product_id": 9,
                        "up_sale_product_id": 79,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 75,
                                "user_id": 1,
                                "product_id": 79,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-single-sofa-0077",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 70,
                                "max_sell_price": 70,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:43:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T15:59:27.000000Z",
                                "updated_at": "2022-09-02T09:43:03.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Black",
                                            "Red",
                                            "Green",
                                            "Yellow"
                                        ],
                                        "code": [
                                            "black",
                                            "red",
                                            "#6aa84f",
                                            "#ffd966"
                                        ],
                                        "attr_val_id": [
                                            1,
                                            2,
                                            4,
                                            5
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 70,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 182,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "157",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 142,
                                                "product_id": 79,
                                                "product_sku_id": 157,
                                                "attribute_id": 1,
                                                "attribute_value_id": 1,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute_value": {
                                                    "id": 1,
                                                    "value": "black",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 1,
                                                        "attribute_value_id": 1,
                                                        "name": "Black",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 183,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "158",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 143,
                                                "product_id": 79,
                                                "product_sku_id": 158,
                                                "attribute_id": 1,
                                                "attribute_value_id": 2,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 2,
                                                    "value": "red",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 2,
                                                        "attribute_value_id": 2,
                                                        "name": "Red",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 184,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "159",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 144,
                                                "product_id": 79,
                                                "product_sku_id": 159,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 185,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "160",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 145,
                                                "product_id": 79,
                                                "product_sku_id": 160,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 59,
                        "product_id": 9,
                        "up_sale_product_id": 67,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 63,
                                "user_id": 1,
                                "product_id": 67,
                                "tax": 6,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "wooden-design-beautiful-furniture-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-11 16:04:02",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:24:42.000000Z",
                                "updated_at": "2022-08-11T10:04:02.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 170,
                                        "user_id": 1,
                                        "product_id": 63,
                                        "product_sku_id": "145",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:24:42.000000Z",
                                        "updated_at": "2021-11-23T19:24:42.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 60,
                        "product_id": 9,
                        "up_sale_product_id": 66,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 62,
                                "user_id": 1,
                                "product_id": 66,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 10,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "half-face-strong-helmet-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 55,
                                "max_sell_price": 55,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2022-05-18 16:02:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:49:32.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 55,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 169,
                                        "user_id": 1,
                                        "product_id": 62,
                                        "product_sku_id": "144",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 55,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:49:32.000000Z",
                                        "updated_at": "2021-11-24T11:06:45.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 61,
                        "product_id": 9,
                        "up_sale_product_id": 65,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 61,
                                "user_id": 1,
                                "product_id": 65,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-women-bag-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 25,
                                "max_sell_price": 26,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-07-13 16:02:54",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:36:41.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Golden"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#fce5cd"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            8
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 26,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 166,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "141",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 139,
                                                "product_id": 65,
                                                "product_sku_id": 141,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 167,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "142",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 140,
                                                "product_id": 65,
                                                "product_sku_id": 142,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 168,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "143",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 26,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 141,
                                                "product_id": 65,
                                                "product_sku_id": 143,
                                                "attribute_id": 1,
                                                "attribute_value_id": 8,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 8,
                                                    "value": "#fce5cd",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 8,
                                                        "attribute_value_id": 8,
                                                        "name": "Golden",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 62,
                        "product_id": 9,
                        "up_sale_product_id": 64,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "up_seller_products": [
                            {
                                "id": 60,
                                "user_id": 1,
                                "product_id": 64,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-loafer-for-men-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 1,
                                "is_approved": 1,
                                "min_sell_price": 200,
                                "max_sell_price": 500,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2022-10-06 10:41:24",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T17:57:17.000000Z",
                                "updated_at": "2022-10-06T04:41:24.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "41",
                                            "42"
                                        ],
                                        "code": [
                                            "41",
                                            "42"
                                        ],
                                        "attr_val_id": [
                                            38,
                                            39
                                        ],
                                        "name": "Shoe Size",
                                        "attr_id": 4
                                    },
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Purple",
                                            "Deep Green",
                                            "Olive"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#6728a3",
                                            "#3fa3b8",
                                            "#77b059"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            33,
                                            34,
                                            44
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 156,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "131",
                                        "product_stock": 34,
                                        "purchase_price": 0,
                                        "selling_price": 200,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-12-09T20:10:49.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 119,
                                                "product_id": 64,
                                                "product_sku_id": 131,
                                                "attribute_id": 4,
                                                "attribute_value_id": 38,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute_value": {
                                                    "id": 38,
                                                    "value": "41",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                },
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                }
                                            },
                                            {
                                                "id": 120,
                                                "product_id": 64,
                                                "product_sku_id": 131,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 157,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "132",
                                        "product_stock": 34,
                                        "purchase_price": 0,
                                        "selling_price": 500,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-12-09T20:41:35.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 121,
                                                "product_id": 64,
                                                "product_sku_id": 132,
                                                "attribute_id": 4,
                                                "attribute_value_id": 38,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 38,
                                                    "value": "41",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 122,
                                                "product_id": 64,
                                                "product_sku_id": 132,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 158,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "133",
                                        "product_stock": 35,
                                        "purchase_price": 0,
                                        "selling_price": 410,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 123,
                                                "product_id": 64,
                                                "product_sku_id": 133,
                                                "attribute_id": 4,
                                                "attribute_value_id": 38,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 38,
                                                    "value": "41",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 124,
                                                "product_id": 64,
                                                "product_sku_id": 133,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 159,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "134",
                                        "product_stock": 35,
                                        "purchase_price": 0,
                                        "selling_price": 410,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 125,
                                                "product_id": 64,
                                                "product_sku_id": 134,
                                                "attribute_id": 4,
                                                "attribute_value_id": 38,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 38,
                                                    "value": "41",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 126,
                                                "product_id": 64,
                                                "product_sku_id": 134,
                                                "attribute_id": 1,
                                                "attribute_value_id": 34,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 34,
                                                    "value": "#3fa3b8",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 11,
                                                        "attribute_value_id": 34,
                                                        "name": "Deep Green",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 160,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "135",
                                        "product_stock": 35,
                                        "purchase_price": 0,
                                        "selling_price": 450,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 127,
                                                "product_id": 64,
                                                "product_sku_id": 135,
                                                "attribute_id": 4,
                                                "attribute_value_id": 38,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 38,
                                                    "value": "41",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 128,
                                                "product_id": 64,
                                                "product_sku_id": 135,
                                                "attribute_id": 1,
                                                "attribute_value_id": 44,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 44,
                                                    "value": "#77b059",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T11:05:27.000000Z",
                                                    "updated_at": "2022-05-18T12:10:09.000000Z",
                                                    "color": {
                                                        "id": 13,
                                                        "attribute_value_id": 44,
                                                        "name": "Olive",
                                                        "created_at": "2021-09-28T11:05:27.000000Z",
                                                        "updated_at": "2022-05-18T12:10:09.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 161,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "136",
                                        "product_stock": 36,
                                        "purchase_price": 0,
                                        "selling_price": 200,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 129,
                                                "product_id": 64,
                                                "product_sku_id": 136,
                                                "attribute_id": 4,
                                                "attribute_value_id": 39,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 39,
                                                    "value": "42",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 130,
                                                "product_id": 64,
                                                "product_sku_id": 136,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 162,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "137",
                                        "product_stock": 36,
                                        "purchase_price": 0,
                                        "selling_price": 365,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 131,
                                                "product_id": 64,
                                                "product_sku_id": 137,
                                                "attribute_id": 4,
                                                "attribute_value_id": 39,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 39,
                                                    "value": "42",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 132,
                                                "product_id": 64,
                                                "product_sku_id": 137,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 163,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "138",
                                        "product_stock": 36,
                                        "purchase_price": 0,
                                        "selling_price": 231,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 133,
                                                "product_id": 64,
                                                "product_sku_id": 138,
                                                "attribute_id": 4,
                                                "attribute_value_id": 39,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 39,
                                                    "value": "42",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 134,
                                                "product_id": 64,
                                                "product_sku_id": 138,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 164,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "139",
                                        "product_stock": 35,
                                        "purchase_price": 0,
                                        "selling_price": 260,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 135,
                                                "product_id": 64,
                                                "product_sku_id": 139,
                                                "attribute_id": 4,
                                                "attribute_value_id": 39,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 39,
                                                    "value": "42",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 136,
                                                "product_id": 64,
                                                "product_sku_id": 139,
                                                "attribute_id": 1,
                                                "attribute_value_id": 34,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 34,
                                                    "value": "#3fa3b8",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 11,
                                                        "attribute_value_id": 34,
                                                        "name": "Deep Green",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 165,
                                        "user_id": 1,
                                        "product_id": 60,
                                        "product_sku_id": "140",
                                        "product_stock": 36,
                                        "purchase_price": 0,
                                        "selling_price": 452,
                                        "status": 1,
                                        "created_at": "2021-11-23T17:57:17.000000Z",
                                        "updated_at": "2021-11-23T17:57:17.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 137,
                                                "product_id": 64,
                                                "product_sku_id": 140,
                                                "attribute_id": 4,
                                                "attribute_value_id": 39,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 4,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": "2022-05-23T13:56:44.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 39,
                                                    "value": "42",
                                                    "attribute_id": 4,
                                                    "created_at": "2021-09-28T11:01:30.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            },
                                            {
                                                "id": 138,
                                                "product_id": 64,
                                                "product_sku_id": 140,
                                                "attribute_id": 1,
                                                "attribute_value_id": 44,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T17:57:17.000000Z",
                                                "updated_at": "2021-11-23T17:57:17.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 44,
                                                    "value": "#77b059",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T11:05:27.000000Z",
                                                    "updated_at": "2022-05-18T12:10:09.000000Z",
                                                    "color": {
                                                        "id": 13,
                                                        "attribute_value_id": 44,
                                                        "name": "Olive",
                                                        "created_at": "2021-09-28T11:05:27.000000Z",
                                                        "updated_at": "2022-05-18T12:10:09.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "cross_sales": [
                    {
                        "id": 40,
                        "product_id": 9,
                        "cross_sale_product_id": 81,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 77,
                                "user_id": 1,
                                "product_id": 81,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "single-seater-sofa-premium-quality-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 120,
                                "max_sell_price": 120,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:44:51",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:36:26.000000Z",
                                "updated_at": "2022-06-09T06:44:51.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 120,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 189,
                                        "user_id": 1,
                                        "product_id": 77,
                                        "product_sku_id": "164",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 120,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:36:26.000000Z",
                                        "updated_at": "2021-11-24T16:36:26.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 41,
                        "product_id": 9,
                        "cross_sale_product_id": 80,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 76,
                                "user_id": 1,
                                "product_id": 80,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "beautiful-single-size-sofa-0099",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 80,
                                "max_sell_price": 80,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:42:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:29:41.000000Z",
                                "updated_at": "2022-09-02T09:42:23.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Gray",
                                            "Blue",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#999999",
                                            "#258cd9",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            6,
                                            7,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 80,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 186,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "161",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 146,
                                                "product_id": 80,
                                                "product_sku_id": 161,
                                                "attribute_id": 1,
                                                "attribute_value_id": 6,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute_value": {
                                                    "id": 6,
                                                    "value": "#999999",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 6,
                                                        "attribute_value_id": 6,
                                                        "name": "Gray",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 187,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "162",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 147,
                                                "product_id": 80,
                                                "product_sku_id": 162,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 188,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "163",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 148,
                                                "product_id": 80,
                                                "product_sku_id": 163,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 42,
                        "product_id": 9,
                        "cross_sale_product_id": 79,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 75,
                                "user_id": 1,
                                "product_id": 79,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-single-sofa-0077",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 70,
                                "max_sell_price": 70,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:43:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T15:59:27.000000Z",
                                "updated_at": "2022-09-02T09:43:03.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Black",
                                            "Red",
                                            "Green",
                                            "Yellow"
                                        ],
                                        "code": [
                                            "black",
                                            "red",
                                            "#6aa84f",
                                            "#ffd966"
                                        ],
                                        "attr_val_id": [
                                            1,
                                            2,
                                            4,
                                            5
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 70,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 182,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "157",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 142,
                                                "product_id": 79,
                                                "product_sku_id": 157,
                                                "attribute_id": 1,
                                                "attribute_value_id": 1,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute_value": {
                                                    "id": 1,
                                                    "value": "black",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 1,
                                                        "attribute_value_id": 1,
                                                        "name": "Black",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 183,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "158",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 143,
                                                "product_id": 79,
                                                "product_sku_id": 158,
                                                "attribute_id": 1,
                                                "attribute_value_id": 2,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 2,
                                                    "value": "red",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 2,
                                                        "attribute_value_id": 2,
                                                        "name": "Red",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 184,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "159",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 144,
                                                "product_id": 79,
                                                "product_sku_id": 159,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 185,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "160",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 145,
                                                "product_id": 79,
                                                "product_sku_id": 160,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 43,
                        "product_id": 9,
                        "cross_sale_product_id": 67,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 63,
                                "user_id": 1,
                                "product_id": 67,
                                "tax": 6,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "wooden-design-beautiful-furniture-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-11 16:04:02",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:24:42.000000Z",
                                "updated_at": "2022-08-11T10:04:02.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 170,
                                        "user_id": 1,
                                        "product_id": 63,
                                        "product_sku_id": "145",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:24:42.000000Z",
                                        "updated_at": "2021-11-23T19:24:42.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "related_products": [
                    {
                        "id": 60,
                        "product_id": 9,
                        "related_sale_product_id": 81,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "related_seller_products": [
                            {
                                "id": 77,
                                "user_id": 1,
                                "product_id": 81,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "single-seater-sofa-premium-quality-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 120,
                                "max_sell_price": 120,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:44:51",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:36:26.000000Z",
                                "updated_at": "2022-06-09T06:44:51.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 120,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 189,
                                        "user_id": 1,
                                        "product_id": 77,
                                        "product_sku_id": "164",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 120,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:36:26.000000Z",
                                        "updated_at": "2021-11-24T16:36:26.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 61,
                        "product_id": 9,
                        "related_sale_product_id": 80,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "related_seller_products": [
                            {
                                "id": 76,
                                "user_id": 1,
                                "product_id": 80,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "beautiful-single-size-sofa-0099",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 80,
                                "max_sell_price": 80,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:42:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:29:41.000000Z",
                                "updated_at": "2022-09-02T09:42:23.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Gray",
                                            "Blue",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#999999",
                                            "#258cd9",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            6,
                                            7,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 80,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 186,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "161",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 146,
                                                "product_id": 80,
                                                "product_sku_id": 161,
                                                "attribute_id": 1,
                                                "attribute_value_id": 6,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute_value": {
                                                    "id": 6,
                                                    "value": "#999999",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 6,
                                                        "attribute_value_id": 6,
                                                        "name": "Gray",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 187,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "162",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 147,
                                                "product_id": 80,
                                                "product_sku_id": 162,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 188,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "163",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 148,
                                                "product_id": 80,
                                                "product_sku_id": 163,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 62,
                        "product_id": 9,
                        "related_sale_product_id": 79,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "related_seller_products": [
                            {
                                "id": 75,
                                "user_id": 1,
                                "product_id": 79,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-single-sofa-0077",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 70,
                                "max_sell_price": 70,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:43:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T15:59:27.000000Z",
                                "updated_at": "2022-09-02T09:43:03.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Black",
                                            "Red",
                                            "Green",
                                            "Yellow"
                                        ],
                                        "code": [
                                            "black",
                                            "red",
                                            "#6aa84f",
                                            "#ffd966"
                                        ],
                                        "attr_val_id": [
                                            1,
                                            2,
                                            4,
                                            5
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 70,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 182,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "157",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 142,
                                                "product_id": 79,
                                                "product_sku_id": 157,
                                                "attribute_id": 1,
                                                "attribute_value_id": 1,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute_value": {
                                                    "id": 1,
                                                    "value": "black",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 1,
                                                        "attribute_value_id": 1,
                                                        "name": "Black",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 183,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "158",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 143,
                                                "product_id": 79,
                                                "product_sku_id": 158,
                                                "attribute_id": 1,
                                                "attribute_value_id": 2,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 2,
                                                    "value": "red",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 2,
                                                        "attribute_value_id": 2,
                                                        "name": "Red",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 184,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "159",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 144,
                                                "product_id": 79,
                                                "product_sku_id": 159,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 185,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "160",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 145,
                                                "product_id": 79,
                                                "product_sku_id": 160,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 63,
                        "product_id": 9,
                        "related_sale_product_id": 10,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "related_seller_products": [
                            {
                                "id": 18,
                                "user_id": 1,
                                "product_id": 10,
                                "tax": 0,
                                "tax_type": "0",
                                "discount": 10,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "single-size-sofa",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 25000,
                                "max_sell_price": 35000,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-09 16:57:41",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T13:07:47.000000Z",
                                "updated_at": "2022-09-09T10:57:41.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Brown",
                                            "Pink"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#770707",
                                            "#fdb4b4"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            35,
                                            9
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 35000,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 75,
                                        "user_id": 1,
                                        "product_id": 18,
                                        "product_sku_id": "41",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25000,
                                        "status": 1,
                                        "created_at": "2021-09-28T13:07:47.000000Z",
                                        "updated_at": "2022-08-16T12:49:38.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 60,
                                                "product_id": 10,
                                                "product_sku_id": 41,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T11:42:18.000000Z",
                                                "updated_at": "2021-09-28T11:42:18.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 76,
                                        "user_id": 1,
                                        "product_id": 18,
                                        "product_sku_id": "42",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 28000,
                                        "status": 1,
                                        "created_at": "2021-09-28T13:07:47.000000Z",
                                        "updated_at": "2022-04-21T13:42:26.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 61,
                                                "product_id": 10,
                                                "product_sku_id": 42,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T11:42:18.000000Z",
                                                "updated_at": "2021-09-28T11:42:18.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 77,
                                        "user_id": 1,
                                        "product_id": 18,
                                        "product_sku_id": "43",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 30000,
                                        "status": 1,
                                        "created_at": "2021-09-28T13:07:47.000000Z",
                                        "updated_at": "2022-08-16T06:38:54.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 62,
                                                "product_id": 10,
                                                "product_sku_id": 43,
                                                "attribute_id": 1,
                                                "attribute_value_id": 35,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T11:42:18.000000Z",
                                                "updated_at": "2021-09-28T11:42:18.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 35,
                                                    "value": "#770707",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:13:24.000000Z",
                                                    "updated_at": "2021-09-28T10:13:24.000000Z",
                                                    "color": {
                                                        "id": 12,
                                                        "attribute_value_id": 35,
                                                        "name": "Brown",
                                                        "created_at": "2021-09-28T10:13:24.000000Z",
                                                        "updated_at": "2021-09-28T10:13:24.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 261,
                                        "user_id": 1,
                                        "product_id": 18,
                                        "product_sku_id": "218",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 35000,
                                        "status": 1,
                                        "created_at": "2022-08-16T13:07:42.000000Z",
                                        "updated_at": "2022-08-16T13:10:24.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 171,
                                                "product_id": 10,
                                                "product_sku_id": 218,
                                                "attribute_id": 1,
                                                "attribute_value_id": 9,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2022-08-16T13:04:56.000000Z",
                                                "updated_at": "2022-08-16T13:04:56.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 9,
                                                    "value": "#fdb4b4",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 9,
                                                        "attribute_value_id": 9,
                                                        "name": "Pink",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "gallary_images": [
                    {
                        "id": 18,
                        "product_id": 9,
                        "images_source": "uploads/images/28-09-2021/6152a937a99e2.png",
                        "media_id": 1,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 19,
                        "product_id": 9,
                        "images_source": "uploads/images/28-09-2021/6152a937d3714.png",
                        "media_id": 2,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 20,
                        "product_id": 9,
                        "images_source": "uploads/images/28-09-2021/6152a93805cc5.png",
                        "media_id": 3,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 21,
                        "product_id": 9,
                        "images_source": "uploads/images/28-09-2021/6152a9382f8da.png",
                        "media_id": 4,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    }
                ],
                "brand": {
                    "id": 7,
                    "name": null,
                    "logo": "uploads/images/04-10-2021/615a8b3da6843.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 16,
                    "avg_rating": 0,
                    "slug": "otobi",
                    "created_by": null,
                    "updated_by": 4,
                    "created_at": "2021-09-28T11:21:40.000000Z",
                    "updated_at": "2022-10-19T06:01:26.000000Z"
                },
                "categories": [
                    {
                        "id": 9,
                        "name": null,
                        "slug": "furnitures",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-couch",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-09-28T11:17:57.000000Z",
                        "updated_at": "2022-05-09T10:18:36.000000Z",
                        "translateName": "Furnitures",
                        "pivot": {
                            "product_id": 9,
                            "category_id": 9
                        }
                    },
                    {
                        "id": 10,
                        "name": null,
                        "slug": "sofa",
                        "parent_id": 9,
                        "depth_level": 2,
                        "icon": "fas fa-couch",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 2,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T11:18:58.000000Z",
                        "updated_at": "2021-10-13T16:58:47.000000Z",
                        "translateName": "Sofa",
                        "pivot": {
                            "product_id": 9,
                            "category_id": 10
                        }
                    },
                    {
                        "id": 27,
                        "name": null,
                        "slug": "wooden-furniture",
                        "parent_id": 9,
                        "depth_level": 2,
                        "icon": "fas fa-couch",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-11-23T19:21:17.000000Z",
                        "updated_at": "2021-11-23T19:21:17.000000Z",
                        "translateName": "Wooden Furniture",
                        "pivot": {
                            "product_id": 9,
                            "category_id": 27
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [
                    {
                        "id": 56,
                        "product_id": 9,
                        "product_sku_id": 37,
                        "attribute_id": 1,
                        "attribute_value_id": 4,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z"
                    },
                    {
                        "id": 57,
                        "product_id": 9,
                        "product_sku_id": 38,
                        "attribute_id": 1,
                        "attribute_value_id": 5,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z"
                    },
                    {
                        "id": 58,
                        "product_id": 9,
                        "product_sku_id": 39,
                        "attribute_id": 1,
                        "attribute_value_id": 7,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:45.000000Z",
                        "updated_at": "2021-09-28T11:33:45.000000Z"
                    },
                    {
                        "id": 59,
                        "product_id": 9,
                        "product_sku_id": 40,
                        "attribute_id": 1,
                        "attribute_value_id": 9,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T11:33:45.000000Z",
                        "updated_at": "2021-09-28T11:33:45.000000Z"
                    }
                ],
                "skus": [
                    {
                        "id": 37,
                        "product_id": 9,
                        "sku": "LRS0-Green",
                        "purchase_price": 0,
                        "selling_price": 100,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/28-09-2021/6152a93889a5e.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "LRS0-Green",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z"
                    },
                    {
                        "id": 38,
                        "product_id": 9,
                        "sku": "LRS0-Yellow",
                        "purchase_price": 0,
                        "selling_price": 100,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/28-09-2021/6152a938b1b67.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "LRS0-Yellow",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T11:33:44.000000Z",
                        "updated_at": "2021-09-28T11:33:44.000000Z"
                    },
                    {
                        "id": 39,
                        "product_id": 9,
                        "sku": "LRS0-Blue",
                        "purchase_price": 0,
                        "selling_price": 100,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/28-09-2021/6152a938de673.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "LRS0-Blue",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T11:33:45.000000Z",
                        "updated_at": "2021-09-28T11:33:45.000000Z"
                    },
                    {
                        "id": 40,
                        "product_id": 9,
                        "sku": "LRS0-Pink",
                        "purchase_price": 0,
                        "selling_price": 100,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/28-09-2021/6152a939142e7.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "LRS0-Pink",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T11:33:45.000000Z",
                        "updated_at": "2021-09-28T11:33:45.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 142,
                        "name": "sofa",
                        "url": null,
                        "created_at": "2021-11-24T15:59:27.000000Z",
                        "updated_at": "2021-11-24T15:59:27.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 142
                        }
                    },
                    {
                        "id": 158,
                        "name": "double sofa",
                        "url": null,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 158
                        }
                    },
                    {
                        "id": 159,
                        "name": "bedroom sofa",
                        "url": null,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 159
                        }
                    },
                    {
                        "id": 160,
                        "name": "large size sofa",
                        "url": null,
                        "created_at": "2021-11-24T16:57:09.000000Z",
                        "updated_at": "2021-11-24T16:57:09.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 160
                        }
                    },
                    {
                        "id": 89,
                        "name": "furniture",
                        "url": null,
                        "created_at": "2021-11-23T19:24:42.000000Z",
                        "updated_at": "2021-11-23T19:24:42.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 89
                        }
                    },
                    {
                        "id": 148,
                        "name": "bedroom furniture",
                        "url": null,
                        "created_at": "2021-11-24T16:29:41.000000Z",
                        "updated_at": "2021-11-24T16:29:41.000000Z",
                        "pivot": {
                            "product_id": 9,
                            "tag_id": 148
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 16,
                    "user_id": 1,
                    "product_id": 8,
                    "product_sku_id": "37",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2021-09-28T11:44:07.000000Z",
                    "updated_at": "2021-09-28T11:44:07.000000Z",
                    "product_variations": [
                        {
                            "id": 56,
                            "product_id": 9,
                            "product_sku_id": 37,
                            "attribute_id": 1,
                            "attribute_value_id": 4,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T11:33:44.000000Z",
                            "updated_at": "2021-09-28T11:33:44.000000Z",
                            "attribute_value": {
                                "id": 4,
                                "value": "#6aa84f",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 4,
                                    "attribute_value_id": 4,
                                    "name": "Green",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            },
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 17,
                    "user_id": 1,
                    "product_id": 8,
                    "product_sku_id": "38",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2021-09-28T11:44:07.000000Z",
                    "updated_at": "2021-09-28T11:44:07.000000Z",
                    "product_variations": [
                        {
                            "id": 57,
                            "product_id": 9,
                            "product_sku_id": 38,
                            "attribute_id": 1,
                            "attribute_value_id": 5,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T11:33:44.000000Z",
                            "updated_at": "2021-09-28T11:33:44.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 5,
                                "value": "#ffd966",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 5,
                                    "attribute_value_id": 5,
                                    "name": "Yellow",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 18,
                    "user_id": 1,
                    "product_id": 8,
                    "product_sku_id": "39",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2021-09-28T11:44:07.000000Z",
                    "updated_at": "2021-09-28T11:44:07.000000Z",
                    "product_variations": [
                        {
                            "id": 58,
                            "product_id": 9,
                            "product_sku_id": 39,
                            "attribute_id": 1,
                            "attribute_value_id": 7,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T11:33:45.000000Z",
                            "updated_at": "2021-09-28T11:33:45.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 7,
                                "value": "#258cd9",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 7,
                                    "attribute_value_id": 7,
                                    "name": "Blue",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 19,
                    "user_id": 1,
                    "product_id": 8,
                    "product_sku_id": "40",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2021-09-28T11:44:07.000000Z",
                    "updated_at": "2021-09-28T11:44:07.000000Z",
                    "product_variations": [
                        {
                            "id": 59,
                            "product_id": 9,
                            "product_sku_id": 40,
                            "attribute_id": 1,
                            "attribute_value_id": 9,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T11:33:45.000000Z",
                            "updated_at": "2021-09-28T11:33:45.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 9,
                                "value": "#fdb4b4",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 9,
                                    "attribute_value_id": 9,
                                    "name": "Pink",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                }
            ],
            "reviews": []
        },
        {
            "id": 9,
            "user_id": 1,
            "product_id": 11,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "men-casual-watch-005",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 75,
            "max_sell_price": 75,
            "total_sale": 0,
            "avg_rating": 0,
            "recent_view": "2022-06-09 12:40:23",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-28T12:09:01.000000Z",
            "updated_at": "2022-10-24T09:58:39.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "Green",
                        "Yellow",
                        "Golden",
                        "Purple"
                    ],
                    "code": [
                        "#6aa84f",
                        "#ffd966",
                        "#fce5cd",
                        "#6728a3"
                    ],
                    "attr_val_id": [
                        4,
                        5,
                        8,
                        33
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 75,
            "hasDeal": {
                "id": 20,
                "flash_deal_id": 1,
                "seller_product_id": 9,
                "discount": 10,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:51:17.000000Z",
                "updated_at": "2021-11-25T13:51:17.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": {
                "id": 20,
                "flash_deal_id": 1,
                "seller_product_id": 9,
                "discount": 10,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:51:17.000000Z",
                "updated_at": "2021-11-25T13:51:17.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 11,
                "product_name": null,
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 2,
                "thumbnail_image_source": "uploads/images/25-11-2021/619f8b3e3225f.png",
                "media_ids": "101,102,103,104",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "watch-005",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 5,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/28-09-2021/6152b14790f38.jpeg",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "men-casual-watch-005",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-28T12:08:07.000000Z",
                "updated_at": "2022-04-07T15:37:08.000000Z",
                "translateProductName": "Men Casual Watch 005",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 20,
                        "product_id": 11,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 21,
                        "product_id": 11,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [
                    {
                        "id": 6,
                        "product_id": 11,
                        "up_sale_product_id": 7,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "up_seller_products": [
                            {
                                "id": 6,
                                "user_id": 1,
                                "product_id": 7,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-look-casual-shoe",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 50,
                                "max_sell_price": 50,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-16 15:27:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T10:58:05.000000Z",
                                "updated_at": "2022-08-16T09:27:03.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 50,
                                "hasDeal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 6,
                                        "user_id": 1,
                                        "product_id": 6,
                                        "product_sku_id": "11",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 50,
                                        "status": 1,
                                        "created_at": "2021-09-28T10:58:05.000000Z",
                                        "updated_at": "2021-11-23T20:20:29.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 7,
                        "product_id": 11,
                        "up_sale_product_id": 6,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "up_seller_products": [
                            {
                                "id": 12,
                                "user_id": 1,
                                "product_id": 6,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-fashion-women-bag",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 20,
                                "max_sell_price": 22,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-10-04 12:45:22",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T12:53:33.000000Z",
                                "updated_at": "2022-10-04T06:45:22.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Purple",
                                            "Deep Green",
                                            "Brown"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#6728a3",
                                            "#3fa3b8",
                                            "#770707"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            33,
                                            34,
                                            35
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 22,
                                "hasDeal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 34,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "6",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 1,
                                                "product_id": 6,
                                                "product_sku_id": 6,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 35,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "7",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 2,
                                                "product_id": 6,
                                                "product_sku_id": 7,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 36,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "8",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 3,
                                                "product_id": 6,
                                                "product_sku_id": 8,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 37,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "9",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 4,
                                                "product_id": 6,
                                                "product_sku_id": 9,
                                                "attribute_id": 1,
                                                "attribute_value_id": 34,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 34,
                                                    "value": "#3fa3b8",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 11,
                                                        "attribute_value_id": 34,
                                                        "name": "Deep Green",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 38,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "10",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 22,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 5,
                                                "product_id": 6,
                                                "product_sku_id": 10,
                                                "attribute_id": 1,
                                                "attribute_value_id": 35,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 35,
                                                    "value": "#770707",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:13:24.000000Z",
                                                    "updated_at": "2021-09-28T10:13:24.000000Z",
                                                    "color": {
                                                        "id": 12,
                                                        "attribute_value_id": 35,
                                                        "name": "Brown",
                                                        "created_at": "2021-09-28T10:13:24.000000Z",
                                                        "updated_at": "2021-09-28T10:13:24.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 8,
                        "product_id": 11,
                        "up_sale_product_id": 4,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "up_seller_products": [
                            {
                                "id": 4,
                                "user_id": 1,
                                "product_id": 4,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclisive-watch-2",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 40,
                                "max_sell_price": 40,
                                "total_sale": 6,
                                "avg_rating": 0,
                                "recent_view": "2022-08-02 16:22:35",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:21:30.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 40,
                                "hasDeal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 4,
                                        "user_id": 1,
                                        "product_id": 4,
                                        "product_sku_id": "4",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 40,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:21:30.000000Z",
                                        "updated_at": "2021-11-23T16:59:06.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 9,
                        "product_id": 11,
                        "up_sale_product_id": 3,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "up_seller_products": [
                            {
                                "id": 3,
                                "user_id": 1,
                                "product_id": 3,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-watch-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 2,
                                "avg_rating": 4.5,
                                "recent_view": "2022-10-14 14:33:18",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:20:50.000000Z",
                                "updated_at": "2022-10-14T08:33:18.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 3,
                                        "user_id": 1,
                                        "product_id": 3,
                                        "product_sku_id": "3",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:20:50.000000Z",
                                        "updated_at": "2021-11-23T16:57:21.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 65,
                        "product_id": 11,
                        "up_sale_product_id": 76,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "up_seller_products": [
                            {
                                "id": 72,
                                "user_id": 1,
                                "product_id": 76,
                                "tax": 4,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-bicycle-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 400,
                                "max_sell_price": 400,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:47:45",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T14:11:14.000000Z",
                                "updated_at": "2022-06-09T06:47:45.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 400,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 179,
                                        "user_id": 1,
                                        "product_id": 72,
                                        "product_sku_id": "154",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 400,
                                        "status": 1,
                                        "created_at": "2021-11-24T14:11:14.000000Z",
                                        "updated_at": "2021-11-24T14:11:14.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 66,
                        "product_id": 11,
                        "up_sale_product_id": 68,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "up_seller_products": [
                            {
                                "id": 64,
                                "user_id": 1,
                                "product_id": 68,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "casual-sunglass-for-summer-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 20,
                                "max_sell_price": 20,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-26 15:56:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:31:03.000000Z",
                                "updated_at": "2022-09-26T09:56:43.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 20,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 171,
                                        "user_id": 1,
                                        "product_id": 64,
                                        "product_sku_id": "146",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:31:03.000000Z",
                                        "updated_at": "2021-11-23T19:31:03.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 67,
                        "product_id": 11,
                        "up_sale_product_id": 65,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "up_seller_products": [
                            {
                                "id": 61,
                                "user_id": 1,
                                "product_id": 65,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-women-bag-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 25,
                                "max_sell_price": 26,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-07-13 16:02:54",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:36:41.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Golden"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#fce5cd"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            8
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 26,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 166,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "141",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 139,
                                                "product_id": 65,
                                                "product_sku_id": 141,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 167,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "142",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 140,
                                                "product_id": 65,
                                                "product_sku_id": 142,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 168,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "143",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 26,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 141,
                                                "product_id": 65,
                                                "product_sku_id": 143,
                                                "attribute_id": 1,
                                                "attribute_value_id": 8,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 8,
                                                    "value": "#fce5cd",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 8,
                                                        "attribute_value_id": 8,
                                                        "name": "Golden",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 68,
                        "product_id": 11,
                        "up_sale_product_id": 51,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "up_seller_products": [
                            {
                                "id": 53,
                                "user_id": 1,
                                "product_id": 51,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 6,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "nikon-dslr-camera",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 700,
                                "max_sell_price": 700,
                                "total_sale": 6,
                                "avg_rating": 0,
                                "recent_view": "2022-07-19 12:03:35",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-10-03T19:00:51.000000Z",
                                "updated_at": "2022-07-19T06:03:35.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 700,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 149,
                                        "user_id": 1,
                                        "product_id": 53,
                                        "product_sku_id": "119",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 700,
                                        "status": 1,
                                        "created_at": "2021-10-03T19:00:51.000000Z",
                                        "updated_at": "2021-10-03T19:00:51.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 69,
                        "product_id": 11,
                        "up_sale_product_id": 50,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "up_seller_products": []
                    }
                ],
                "cross_sales": [
                    {
                        "id": 9,
                        "product_id": 11,
                        "cross_sale_product_id": 7,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 6,
                                "user_id": 1,
                                "product_id": 7,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-look-casual-shoe",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 50,
                                "max_sell_price": 50,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-16 15:27:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T10:58:05.000000Z",
                                "updated_at": "2022-08-16T09:27:03.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 50,
                                "hasDeal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 6,
                                        "user_id": 1,
                                        "product_id": 6,
                                        "product_sku_id": "11",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 50,
                                        "status": 1,
                                        "created_at": "2021-09-28T10:58:05.000000Z",
                                        "updated_at": "2021-11-23T20:20:29.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 10,
                        "product_id": 11,
                        "cross_sale_product_id": 4,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 4,
                                "user_id": 1,
                                "product_id": 4,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclisive-watch-2",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 40,
                                "max_sell_price": 40,
                                "total_sale": 6,
                                "avg_rating": 0,
                                "recent_view": "2022-08-02 16:22:35",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:21:30.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 40,
                                "hasDeal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 4,
                                        "user_id": 1,
                                        "product_id": 4,
                                        "product_sku_id": "4",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 40,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:21:30.000000Z",
                                        "updated_at": "2021-11-23T16:59:06.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 11,
                        "product_id": 11,
                        "cross_sale_product_id": 3,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 3,
                                "user_id": 1,
                                "product_id": 3,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-watch-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 2,
                                "avg_rating": 4.5,
                                "recent_view": "2022-10-14 14:33:18",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:20:50.000000Z",
                                "updated_at": "2022-10-14T08:33:18.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 3,
                                        "user_id": 1,
                                        "product_id": 3,
                                        "product_sku_id": "3",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:20:50.000000Z",
                                        "updated_at": "2021-11-23T16:57:21.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 52,
                        "product_id": 11,
                        "cross_sale_product_id": 82,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 78,
                                "user_id": 1,
                                "product_id": 82,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-design-apple-pad-pro",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 190,
                                "max_sell_price": 220,
                                "total_sale": 3,
                                "avg_rating": 0,
                                "recent_view": "2022-10-06 20:26:40",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:53:49.000000Z",
                                "updated_at": "2022-10-06T14:26:40.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "4GB-64GB",
                                            "4GB-128GB"
                                        ],
                                        "code": [
                                            "4GB-64GB",
                                            "4GB-128GB"
                                        ],
                                        "attr_val_id": [
                                            14,
                                            15
                                        ],
                                        "name": "Storage",
                                        "attr_id": 2
                                    }
                                ],
                                "MaxSellingPrice": 220,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 190,
                                        "user_id": 1,
                                        "product_id": 78,
                                        "product_sku_id": "165",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 190,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:53:49.000000Z",
                                        "updated_at": "2021-11-24T16:53:49.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 149,
                                                "product_id": 82,
                                                "product_sku_id": 165,
                                                "attribute_id": 2,
                                                "attribute_value_id": 14,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:53:49.000000Z",
                                                "updated_at": "2021-11-24T16:53:49.000000Z",
                                                "attribute_value": {
                                                    "id": 14,
                                                    "value": "4GB-64GB",
                                                    "attribute_id": 2,
                                                    "created_at": "2021-09-26T11:48:20.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                },
                                                "attribute": {
                                                    "id": 2,
                                                    "name": null,
                                                    "display_type": null,
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-26T11:48:20.000000Z",
                                                    "updated_at": "2022-05-18T10:17:43.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 191,
                                        "user_id": 1,
                                        "product_id": 78,
                                        "product_sku_id": "166",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 220,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:53:49.000000Z",
                                        "updated_at": "2021-11-24T16:53:49.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 150,
                                                "product_id": 82,
                                                "product_sku_id": 166,
                                                "attribute_id": 2,
                                                "attribute_value_id": 15,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:53:49.000000Z",
                                                "updated_at": "2021-11-24T16:53:49.000000Z",
                                                "attribute": {
                                                    "id": 2,
                                                    "name": null,
                                                    "display_type": null,
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2021-09-26T11:48:20.000000Z",
                                                    "updated_at": "2022-05-18T10:17:43.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 15,
                                                    "value": "4GB-128GB",
                                                    "attribute_id": 2,
                                                    "created_at": "2021-09-26T11:48:20.000000Z",
                                                    "updated_at": null,
                                                    "color": null
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 53,
                        "product_id": 11,
                        "cross_sale_product_id": 81,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 77,
                                "user_id": 1,
                                "product_id": 81,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "single-seater-sofa-premium-quality-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 120,
                                "max_sell_price": 120,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:44:51",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:36:26.000000Z",
                                "updated_at": "2022-06-09T06:44:51.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 120,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 189,
                                        "user_id": 1,
                                        "product_id": 77,
                                        "product_sku_id": "164",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 120,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:36:26.000000Z",
                                        "updated_at": "2021-11-24T16:36:26.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 54,
                        "product_id": 11,
                        "cross_sale_product_id": 80,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 76,
                                "user_id": 1,
                                "product_id": 80,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "beautiful-single-size-sofa-0099",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 80,
                                "max_sell_price": 80,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:42:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T16:29:41.000000Z",
                                "updated_at": "2022-09-02T09:42:23.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Gray",
                                            "Blue",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#999999",
                                            "#258cd9",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            6,
                                            7,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 80,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 186,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "161",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 146,
                                                "product_id": 80,
                                                "product_sku_id": 161,
                                                "attribute_id": 1,
                                                "attribute_value_id": 6,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute_value": {
                                                    "id": 6,
                                                    "value": "#999999",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 6,
                                                        "attribute_value_id": 6,
                                                        "name": "Gray",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 187,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "162",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 147,
                                                "product_id": 80,
                                                "product_sku_id": 162,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 188,
                                        "user_id": 1,
                                        "product_id": 76,
                                        "product_sku_id": "163",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-11-24T16:29:41.000000Z",
                                        "updated_at": "2021-11-24T16:29:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 148,
                                                "product_id": 80,
                                                "product_sku_id": 163,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T16:29:41.000000Z",
                                                "updated_at": "2021-11-24T16:29:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 55,
                        "product_id": 11,
                        "cross_sale_product_id": 79,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 75,
                                "user_id": 1,
                                "product_id": 79,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-single-sofa-0077",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 70,
                                "max_sell_price": 70,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-02 15:43:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T15:59:27.000000Z",
                                "updated_at": "2022-09-02T09:43:03.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Black",
                                            "Red",
                                            "Green",
                                            "Yellow"
                                        ],
                                        "code": [
                                            "black",
                                            "red",
                                            "#6aa84f",
                                            "#ffd966"
                                        ],
                                        "attr_val_id": [
                                            1,
                                            2,
                                            4,
                                            5
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 70,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 182,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "157",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 142,
                                                "product_id": 79,
                                                "product_sku_id": 157,
                                                "attribute_id": 1,
                                                "attribute_value_id": 1,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute_value": {
                                                    "id": 1,
                                                    "value": "black",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 1,
                                                        "attribute_value_id": 1,
                                                        "name": "Black",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 183,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "158",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 143,
                                                "product_id": 79,
                                                "product_sku_id": 158,
                                                "attribute_id": 1,
                                                "attribute_value_id": 2,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 2,
                                                    "value": "red",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-25T18:32:57.000000Z",
                                                    "updated_at": "2021-09-25T18:32:57.000000Z",
                                                    "color": {
                                                        "id": 2,
                                                        "attribute_value_id": 2,
                                                        "name": "Red",
                                                        "created_at": "2021-09-25T18:32:58.000000Z",
                                                        "updated_at": "2021-09-25T18:32:58.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 184,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "159",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 144,
                                                "product_id": 79,
                                                "product_sku_id": 159,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 185,
                                        "user_id": 1,
                                        "product_id": 75,
                                        "product_sku_id": "160",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 70,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:59:27.000000Z",
                                        "updated_at": "2021-11-24T15:59:27.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 145,
                                                "product_id": 79,
                                                "product_sku_id": 160,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-24T15:59:27.000000Z",
                                                "updated_at": "2021-11-24T15:59:27.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 56,
                        "product_id": 11,
                        "cross_sale_product_id": 73,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 69,
                                "user_id": 1,
                                "product_id": 73,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 2,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "women-bag-latest-design-0087",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 33,
                                "max_sell_price": 33,
                                "total_sale": 3,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 21:31:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T20:45:31.000000Z",
                                "updated_at": "2022-05-31T12:26:05.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 33,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 176,
                                        "user_id": 1,
                                        "product_id": 69,
                                        "product_sku_id": "151",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 33,
                                        "status": 1,
                                        "created_at": "2021-11-23T20:45:31.000000Z",
                                        "updated_at": "2021-11-23T20:45:31.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 57,
                        "product_id": 11,
                        "cross_sale_product_id": 68,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 64,
                                "user_id": 1,
                                "product_id": 68,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "casual-sunglass-for-summer-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 20,
                                "max_sell_price": 20,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-26 15:56:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:31:03.000000Z",
                                "updated_at": "2022-09-26T09:56:43.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 20,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 171,
                                        "user_id": 1,
                                        "product_id": 64,
                                        "product_sku_id": "146",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:31:03.000000Z",
                                        "updated_at": "2021-11-23T19:31:03.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 58,
                        "product_id": 11,
                        "cross_sale_product_id": 66,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 62,
                                "user_id": 1,
                                "product_id": 66,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 10,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "half-face-strong-helmet-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 55,
                                "max_sell_price": 55,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2022-05-18 16:02:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:49:32.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 55,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 169,
                                        "user_id": 1,
                                        "product_id": 62,
                                        "product_sku_id": "144",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 55,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:49:32.000000Z",
                                        "updated_at": "2021-11-24T11:06:45.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "related_products": [
                    {
                        "id": 5,
                        "product_id": 11,
                        "related_sale_product_id": 4,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "related_seller_products": [
                            {
                                "id": 4,
                                "user_id": 1,
                                "product_id": 4,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclisive-watch-2",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 40,
                                "max_sell_price": 40,
                                "total_sale": 6,
                                "avg_rating": 0,
                                "recent_view": "2022-08-02 16:22:35",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:21:30.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 40,
                                "hasDeal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 4,
                                        "user_id": 1,
                                        "product_id": 4,
                                        "product_sku_id": "4",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 40,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:21:30.000000Z",
                                        "updated_at": "2021-11-23T16:59:06.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 6,
                        "product_id": 11,
                        "related_sale_product_id": 3,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z",
                        "related_seller_products": [
                            {
                                "id": 3,
                                "user_id": 1,
                                "product_id": 3,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-watch-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 2,
                                "avg_rating": 4.5,
                                "recent_view": "2022-10-14 14:33:18",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:20:50.000000Z",
                                "updated_at": "2022-10-14T08:33:18.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 3,
                                        "user_id": 1,
                                        "product_id": 3,
                                        "product_sku_id": "3",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:20:50.000000Z",
                                        "updated_at": "2021-11-23T16:57:21.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 66,
                        "product_id": 11,
                        "related_sale_product_id": 35,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "related_seller_products": [
                            {
                                "id": 42,
                                "user_id": 1,
                                "product_id": 35,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 4,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-watch-007",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 80,
                                "max_sell_price": 80,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 18:56:40",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:07:38.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 80,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 138,
                                        "user_id": 1,
                                        "product_id": 42,
                                        "product_sku_id": "103",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 80,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:07:38.000000Z",
                                        "updated_at": "2021-09-29T15:07:38.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 67,
                        "product_id": 11,
                        "related_sale_product_id": 34,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "related_seller_products": [
                            {
                                "id": 43,
                                "user_id": 1,
                                "product_id": 34,
                                "tax": 2,
                                "tax_type": "1",
                                "discount": 4,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "men-casual-watch-006",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 78,
                                "max_sell_price": 78,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 16:59:09",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:08:21.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 78,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 139,
                                        "user_id": 1,
                                        "product_id": 43,
                                        "product_sku_id": "102",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 78,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:08:21.000000Z",
                                        "updated_at": "2021-09-29T15:08:21.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "gallary_images": [
                    {
                        "id": 197,
                        "product_id": 11,
                        "images_source": "uploads/images/25-11-2021/619f8b3e3cab3.png",
                        "media_id": 101,
                        "created_at": "2021-11-25T19:10:22.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    },
                    {
                        "id": 198,
                        "product_id": 11,
                        "images_source": "uploads/images/25-11-2021/619f8b3e51031.png",
                        "media_id": 102,
                        "created_at": "2021-11-25T19:10:22.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    },
                    {
                        "id": 199,
                        "product_id": 11,
                        "images_source": "uploads/images/25-11-2021/619f8b3e65205.png",
                        "media_id": 103,
                        "created_at": "2021-11-25T19:10:22.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    },
                    {
                        "id": 200,
                        "product_id": 11,
                        "images_source": "uploads/images/25-11-2021/619f8b3e7972c.png",
                        "media_id": 104,
                        "created_at": "2021-11-25T19:10:22.000000Z",
                        "updated_at": "2022-04-07T15:37:08.000000Z"
                    }
                ],
                "brand": {
                    "id": 2,
                    "name": null,
                    "logo": "uploads/images/16-05-2022/6281f11ed9f27.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 14,
                    "avg_rating": 0,
                    "slug": "casio",
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:42:40.000000Z",
                    "updated_at": "2022-09-22T13:17:04.000000Z"
                },
                "categories": [
                    {
                        "id": 4,
                        "name": null,
                        "slug": "watch",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "far fa-clock",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 1,
                        "avg_rating": 0,
                        "commission_rate": 6,
                        "created_at": "2021-09-26T11:40:46.000000Z",
                        "updated_at": "2021-10-13T16:57:04.000000Z",
                        "translateName": "Watch",
                        "pivot": {
                            "product_id": 11,
                            "category_id": 4
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [
                    {
                        "id": 63,
                        "product_id": 11,
                        "product_sku_id": 44,
                        "attribute_id": 1,
                        "attribute_value_id": 4,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z"
                    },
                    {
                        "id": 64,
                        "product_id": 11,
                        "product_sku_id": 45,
                        "attribute_id": 1,
                        "attribute_value_id": 5,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z"
                    },
                    {
                        "id": 65,
                        "product_id": 11,
                        "product_sku_id": 46,
                        "attribute_id": 1,
                        "attribute_value_id": 8,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z"
                    },
                    {
                        "id": 66,
                        "product_id": 11,
                        "product_sku_id": 47,
                        "attribute_id": 1,
                        "attribute_value_id": 33,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-09-28T12:08:07.000000Z"
                    }
                ],
                "skus": [
                    {
                        "id": 44,
                        "product_id": 11,
                        "sku": "MCW0-Green",
                        "purchase_price": 0,
                        "selling_price": 75,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/25-11-2021/619f8b3e99226.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "MCW0-Green",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-11-25T19:10:22.000000Z"
                    },
                    {
                        "id": 45,
                        "product_id": 11,
                        "sku": "MCW0-Yellow",
                        "purchase_price": 0,
                        "selling_price": 75,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/25-11-2021/619f8b3ea48c4.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "MCW0-Yellow",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-11-25T19:10:22.000000Z"
                    },
                    {
                        "id": 46,
                        "product_id": 11,
                        "sku": "MCW0-Golden",
                        "purchase_price": 0,
                        "selling_price": 75,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/25-11-2021/619f8b3eae674.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "MCW0-Golden",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-11-25T19:10:22.000000Z"
                    },
                    {
                        "id": 47,
                        "product_id": 11,
                        "sku": "MCW0-Purple",
                        "purchase_price": 0,
                        "selling_price": 75,
                        "additional_shipping": 0,
                        "variant_image": "uploads/images/25-11-2021/619f8b3eb8315.png",
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "MCW0-Purple",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:08:07.000000Z",
                        "updated_at": "2021-11-25T19:10:22.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 73,
                        "name": "watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 73
                        }
                    },
                    {
                        "id": 77,
                        "name": "casual watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 77
                        }
                    },
                    {
                        "id": 163,
                        "name": "latest design watch",
                        "url": null,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 163
                        }
                    },
                    {
                        "id": 164,
                        "name": "new watch",
                        "url": null,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 164
                        }
                    },
                    {
                        "id": 165,
                        "name": "premium watch",
                        "url": null,
                        "created_at": "2021-11-24T17:02:14.000000Z",
                        "updated_at": "2021-11-24T17:02:14.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 165
                        }
                    },
                    {
                        "id": 76,
                        "name": "men watch",
                        "url": null,
                        "created_at": "2021-11-23T16:57:21.000000Z",
                        "updated_at": "2021-11-23T16:57:21.000000Z",
                        "pivot": {
                            "product_id": 11,
                            "tag_id": 76
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 20,
                    "user_id": 1,
                    "product_id": 9,
                    "product_sku_id": "44",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 75,
                    "status": 1,
                    "created_at": "2021-09-28T12:09:01.000000Z",
                    "updated_at": "2021-11-24T17:02:14.000000Z",
                    "product_variations": [
                        {
                            "id": 63,
                            "product_id": 11,
                            "product_sku_id": 44,
                            "attribute_id": 1,
                            "attribute_value_id": 4,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:08:07.000000Z",
                            "updated_at": "2021-09-28T12:08:07.000000Z",
                            "attribute_value": {
                                "id": 4,
                                "value": "#6aa84f",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 4,
                                    "attribute_value_id": 4,
                                    "name": "Green",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            },
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 21,
                    "user_id": 1,
                    "product_id": 9,
                    "product_sku_id": "45",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 75,
                    "status": 1,
                    "created_at": "2021-09-28T12:09:01.000000Z",
                    "updated_at": "2021-11-24T17:02:14.000000Z",
                    "product_variations": [
                        {
                            "id": 64,
                            "product_id": 11,
                            "product_sku_id": 45,
                            "attribute_id": 1,
                            "attribute_value_id": 5,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:08:07.000000Z",
                            "updated_at": "2021-09-28T12:08:07.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 5,
                                "value": "#ffd966",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 5,
                                    "attribute_value_id": 5,
                                    "name": "Yellow",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 22,
                    "user_id": 1,
                    "product_id": 9,
                    "product_sku_id": "46",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 75,
                    "status": 1,
                    "created_at": "2021-09-28T12:09:01.000000Z",
                    "updated_at": "2021-11-24T17:02:14.000000Z",
                    "product_variations": [
                        {
                            "id": 65,
                            "product_id": 11,
                            "product_sku_id": 46,
                            "attribute_id": 1,
                            "attribute_value_id": 8,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:08:07.000000Z",
                            "updated_at": "2021-09-28T12:08:07.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 8,
                                "value": "#fce5cd",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 8,
                                    "attribute_value_id": 8,
                                    "name": "Golden",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 23,
                    "user_id": 1,
                    "product_id": 9,
                    "product_sku_id": "47",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 75,
                    "status": 1,
                    "created_at": "2021-09-28T12:09:01.000000Z",
                    "updated_at": "2021-11-24T17:02:14.000000Z",
                    "product_variations": [
                        {
                            "id": 66,
                            "product_id": 11,
                            "product_sku_id": 47,
                            "attribute_id": 1,
                            "attribute_value_id": 33,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:08:07.000000Z",
                            "updated_at": "2021-09-28T12:08:07.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 33,
                                "value": "#6728a3",
                                "attribute_id": 1,
                                "created_at": "2021-09-28T10:09:06.000000Z",
                                "updated_at": "2021-09-28T10:09:06.000000Z",
                                "color": {
                                    "id": 10,
                                    "attribute_value_id": 33,
                                    "name": "Purple",
                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                    "updated_at": "2021-09-28T10:09:06.000000Z"
                                }
                            }
                        }
                    ]
                }
            ],
            "reviews": []
        },
        {
            "id": 10,
            "user_id": 1,
            "product_id": 13,
            "tax": 15,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "premium-sports-car",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 10000,
            "max_sell_price": 10000,
            "total_sale": 1,
            "avg_rating": 0,
            "recent_view": "2022-07-05 17:21:06",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-28T12:32:11.000000Z",
            "updated_at": "2022-07-05T11:21:06.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "Red",
                        "Green",
                        "Yellow",
                        "Blue",
                        "Purple"
                    ],
                    "code": [
                        "red",
                        "#6aa84f",
                        "#ffd966",
                        "#258cd9",
                        "#6728a3"
                    ],
                    "attr_val_id": [
                        2,
                        4,
                        5,
                        7,
                        33
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 10000,
            "hasDeal": {
                "id": 12,
                "flash_deal_id": 1,
                "seller_product_id": 10,
                "discount": 100,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-11-25T13:49:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": {
                "id": 12,
                "flash_deal_id": 1,
                "seller_product_id": 10,
                "discount": 100,
                "discount_type": 1,
                "status": 1,
                "created_at": "2021-09-28T14:05:36.000000Z",
                "updated_at": "2021-11-25T13:49:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 13,
                "product_name": null,
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 8,
                "thumbnail_image_source": "uploads/images/03-10-2021/6159b7b5daa82.jpeg",
                "media_ids": "5,6,7,8,9",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "car-001",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": "0",
                "gst_group_id": null,
                "tax": 15,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": 5,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/28-09-2021/6152b6c425feb.jpeg",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "premium-sports-car",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-28T12:31:32.000000Z",
                "updated_at": "2022-04-07T15:37:05.000000Z",
                "translateProductName": "Premium Sports Car",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 23,
                        "product_id": 13,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    }
                ],
                "up_sales": [
                    {
                        "id": 12,
                        "product_id": 13,
                        "up_sale_product_id": 11,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "up_seller_products": [
                            {
                                "id": 9,
                                "user_id": 1,
                                "product_id": 11,
                                "tax": 0,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "men-casual-watch-005",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 75,
                                "max_sell_price": 75,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:40:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T12:09:01.000000Z",
                                "updated_at": "2022-10-24T09:58:39.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Yellow",
                                            "Golden",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#ffd966",
                                            "#fce5cd",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            5,
                                            8,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 75,
                                "hasDeal": {
                                    "id": 20,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 9,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T13:51:17.000000Z",
                                    "updated_at": "2021-11-25T13:51:17.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 20,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 9,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T13:51:17.000000Z",
                                    "updated_at": "2021-11-25T13:51:17.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 20,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "44",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 63,
                                                "product_id": 11,
                                                "product_sku_id": 44,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 21,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "45",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 64,
                                                "product_id": 11,
                                                "product_sku_id": 45,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 22,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "46",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 65,
                                                "product_id": 11,
                                                "product_sku_id": 46,
                                                "attribute_id": 1,
                                                "attribute_value_id": 8,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 8,
                                                    "value": "#fce5cd",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 8,
                                                        "attribute_value_id": 8,
                                                        "name": "Golden",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 23,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "47",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 66,
                                                "product_id": 11,
                                                "product_sku_id": 47,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 13,
                        "product_id": 13,
                        "up_sale_product_id": 7,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "up_seller_products": [
                            {
                                "id": 6,
                                "user_id": 1,
                                "product_id": 7,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-look-casual-shoe",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 50,
                                "max_sell_price": 50,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-16 15:27:03",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T10:58:05.000000Z",
                                "updated_at": "2022-08-16T09:27:03.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 50,
                                "hasDeal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 6,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 6,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 6,
                                        "user_id": 1,
                                        "product_id": 6,
                                        "product_sku_id": "11",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 50,
                                        "status": 1,
                                        "created_at": "2021-09-28T10:58:05.000000Z",
                                        "updated_at": "2021-11-23T20:20:29.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 70,
                        "product_id": 13,
                        "up_sale_product_id": 77,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 73,
                                "user_id": 1,
                                "product_id": 77,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "helmet-for-bicycle",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 62500,
                                "max_sell_price": 62500,
                                "total_sale": 3,
                                "avg_rating": 0,
                                "recent_view": "2022-10-28 12:40:50",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T15:24:25.000000Z",
                                "updated_at": "2022-10-28T06:40:51.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 62500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 180,
                                        "user_id": 1,
                                        "product_id": 73,
                                        "product_sku_id": "155",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 62500,
                                        "status": 1,
                                        "created_at": "2021-11-24T15:24:25.000000Z",
                                        "updated_at": "2022-04-21T11:17:05.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 71,
                        "product_id": 13,
                        "up_sale_product_id": 76,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 72,
                                "user_id": 1,
                                "product_id": 76,
                                "tax": 4,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-bicycle-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 400,
                                "max_sell_price": 400,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:47:45",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-24T14:11:14.000000Z",
                                "updated_at": "2022-06-09T06:47:45.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 400,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 179,
                                        "user_id": 1,
                                        "product_id": 72,
                                        "product_sku_id": "154",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 400,
                                        "status": 1,
                                        "created_at": "2021-11-24T14:11:14.000000Z",
                                        "updated_at": "2021-11-24T14:11:14.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 72,
                        "product_id": 13,
                        "up_sale_product_id": 66,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 62,
                                "user_id": 1,
                                "product_id": 66,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 10,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "half-face-strong-helmet-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 55,
                                "max_sell_price": 55,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2022-05-18 16:02:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:49:32.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 55,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 169,
                                        "user_id": 1,
                                        "product_id": 62,
                                        "product_sku_id": "144",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 55,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:49:32.000000Z",
                                        "updated_at": "2021-11-24T11:06:45.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 73,
                        "product_id": 13,
                        "up_sale_product_id": 44,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 50,
                                "user_id": 1,
                                "product_id": 44,
                                "tax": 8,
                                "tax_type": "0",
                                "discount": 9,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-007",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 8500,
                                "max_sell_price": 8500,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-05-10 20:09:00",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:05:02.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 8500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 146,
                                        "user_id": 1,
                                        "product_id": 50,
                                        "product_sku_id": "112",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 8500,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:05:02.000000Z",
                                        "updated_at": "2021-11-23T20:31:58.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 74,
                        "product_id": 13,
                        "up_sale_product_id": 43,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 51,
                                "user_id": 1,
                                "product_id": 43,
                                "tax": 15,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-t45",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 9500,
                                "max_sell_price": 9500,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-05-19 10:36:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:05:31.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 9500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 147,
                                        "user_id": 1,
                                        "product_id": 51,
                                        "product_sku_id": "111",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 9500,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:05:31.000000Z",
                                        "updated_at": "2021-11-23T20:34:32.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 75,
                        "product_id": 13,
                        "up_sale_product_id": 42,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "up_seller_products": [
                            {
                                "id": 49,
                                "user_id": 1,
                                "product_id": 42,
                                "tax": 10,
                                "tax_type": "0",
                                "discount": 4,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-t40",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 8000,
                                "max_sell_price": 8000,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 17:01:12",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:02:13.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 8000,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 145,
                                        "user_id": 1,
                                        "product_id": 49,
                                        "product_sku_id": "110",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 8000,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:02:13.000000Z",
                                        "updated_at": "2021-11-23T20:31:20.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "cross_sales": [
                    {
                        "id": 16,
                        "product_id": 13,
                        "cross_sale_product_id": 11,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 9,
                                "user_id": 1,
                                "product_id": 11,
                                "tax": 0,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "men-casual-watch-005",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 75,
                                "max_sell_price": 75,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-06-09 12:40:23",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T12:09:01.000000Z",
                                "updated_at": "2022-10-24T09:58:39.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Yellow",
                                            "Golden",
                                            "Purple"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#ffd966",
                                            "#fce5cd",
                                            "#6728a3"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            5,
                                            8,
                                            33
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 75,
                                "hasDeal": {
                                    "id": 20,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 9,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T13:51:17.000000Z",
                                    "updated_at": "2021-11-25T13:51:17.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 20,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 9,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T13:51:17.000000Z",
                                    "updated_at": "2021-11-25T13:51:17.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 20,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "44",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 63,
                                                "product_id": 11,
                                                "product_sku_id": 44,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 21,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "45",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 64,
                                                "product_id": 11,
                                                "product_sku_id": 45,
                                                "attribute_id": 1,
                                                "attribute_value_id": 5,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 5,
                                                    "value": "#ffd966",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 5,
                                                        "attribute_value_id": 5,
                                                        "name": "Yellow",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 22,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "46",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 65,
                                                "product_id": 11,
                                                "product_sku_id": 46,
                                                "attribute_id": 1,
                                                "attribute_value_id": 8,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 8,
                                                    "value": "#fce5cd",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 8,
                                                        "attribute_value_id": 8,
                                                        "name": "Golden",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 23,
                                        "user_id": 1,
                                        "product_id": 9,
                                        "product_sku_id": "47",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 75,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:09:01.000000Z",
                                        "updated_at": "2021-11-24T17:02:14.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 66,
                                                "product_id": 11,
                                                "product_sku_id": 47,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T12:08:07.000000Z",
                                                "updated_at": "2021-09-28T12:08:07.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 17,
                        "product_id": 13,
                        "cross_sale_product_id": 5,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 5,
                                "user_id": 1,
                                "product_id": 5,
                                "tax": 10,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "ktm-rc-390",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 5000,
                                "max_sell_price": 5000,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-13 20:00:36",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:34:27.000000Z",
                                "updated_at": "2022-09-13T14:00:36.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 5000,
                                "hasDeal": {
                                    "id": 5,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 5,
                                    "discount": 200,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 5,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 5,
                                    "discount": 200,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 5,
                                        "user_id": 1,
                                        "product_id": 5,
                                        "product_sku_id": "5",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 5000,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:34:27.000000Z",
                                        "updated_at": "2021-11-25T18:55:31.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "related_products": [
                    {
                        "id": 8,
                        "product_id": 13,
                        "related_sale_product_id": 5,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z",
                        "related_seller_products": [
                            {
                                "id": 5,
                                "user_id": 1,
                                "product_id": 5,
                                "tax": 10,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "ktm-rc-390",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 5000,
                                "max_sell_price": 5000,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-13 20:00:36",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:34:27.000000Z",
                                "updated_at": "2022-09-13T14:00:36.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 5000,
                                "hasDeal": {
                                    "id": 5,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 5,
                                    "discount": 200,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 5,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 5,
                                    "discount": 200,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 5,
                                        "user_id": 1,
                                        "product_id": 5,
                                        "product_sku_id": "5",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 5000,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:34:27.000000Z",
                                        "updated_at": "2021-11-25T18:55:31.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 68,
                        "product_id": 13,
                        "related_sale_product_id": 44,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 50,
                                "user_id": 1,
                                "product_id": 44,
                                "tax": 8,
                                "tax_type": "0",
                                "discount": 9,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-007",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 8500,
                                "max_sell_price": 8500,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-05-10 20:09:00",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:05:02.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 8500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 146,
                                        "user_id": 1,
                                        "product_id": 50,
                                        "product_sku_id": "112",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 8500,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:05:02.000000Z",
                                        "updated_at": "2021-11-23T20:31:58.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 69,
                        "product_id": 13,
                        "related_sale_product_id": 43,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 51,
                                "user_id": 1,
                                "product_id": 43,
                                "tax": 15,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-t45",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 9500,
                                "max_sell_price": 9500,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2022-05-19 10:36:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:05:31.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 9500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 147,
                                        "user_id": 1,
                                        "product_id": 51,
                                        "product_sku_id": "111",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 9500,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:05:31.000000Z",
                                        "updated_at": "2021-11-23T20:34:32.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 70,
                        "product_id": 13,
                        "related_sale_product_id": 42,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 49,
                                "user_id": 1,
                                "product_id": 42,
                                "tax": 10,
                                "tax_type": "0",
                                "discount": 4,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-premium-car-t40",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 8000,
                                "max_sell_price": 8000,
                                "total_sale": 2,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 17:01:12",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T16:02:13.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 8000,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 145,
                                        "user_id": 1,
                                        "product_id": 49,
                                        "product_sku_id": "110",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 8000,
                                        "status": 1,
                                        "created_at": "2021-09-29T16:02:13.000000Z",
                                        "updated_at": "2021-11-23T20:31:20.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 71,
                        "product_id": 13,
                        "related_sale_product_id": 30,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 35,
                                "user_id": 1,
                                "product_id": 30,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 2,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-platina-es-100-motor-bike-009",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 2000,
                                "max_sell_price": 2000,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 17:00:57",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T13:15:57.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 2000,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 131,
                                        "user_id": 1,
                                        "product_id": 35,
                                        "product_sku_id": "98",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 2000,
                                        "status": 1,
                                        "created_at": "2021-09-29T13:15:57.000000Z",
                                        "updated_at": "2021-11-23T20:28:14.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 72,
                        "product_id": 13,
                        "related_sale_product_id": 29,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 32,
                                "user_id": 1,
                                "product_id": 29,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 4,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-pulsar-ns160-abs-motor-bike-007",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 2400,
                                "max_sell_price": 2400,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 17:01:14",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T13:11:34.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 2400,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 128,
                                        "user_id": 1,
                                        "product_id": 32,
                                        "product_sku_id": "97",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 2400,
                                        "status": 1,
                                        "created_at": "2021-09-29T13:11:34.000000Z",
                                        "updated_at": "2021-11-23T20:26:04.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 73,
                        "product_id": 13,
                        "related_sale_product_id": 28,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 34,
                                "user_id": 1,
                                "product_id": 28,
                                "tax": 3,
                                "tax_type": "1",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "radeon-110cc-motor-bike-088",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 2500,
                                "max_sell_price": 2500,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-07-26 19:00:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T13:12:26.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 2500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 130,
                                        "user_id": 1,
                                        "product_id": 34,
                                        "product_sku_id": "96",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 2500,
                                        "status": 1,
                                        "created_at": "2021-09-29T13:12:26.000000Z",
                                        "updated_at": "2021-11-23T20:24:36.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 74,
                        "product_id": 13,
                        "related_sale_product_id": 27,
                        "created_at": "2021-11-24T17:03:57.000000Z",
                        "updated_at": "2021-11-24T17:03:57.000000Z",
                        "related_seller_products": [
                            {
                                "id": 33,
                                "user_id": 1,
                                "product_id": 27,
                                "tax": 2,
                                "tax_type": "0",
                                "discount": 3,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "racing-edition-single-disk-glossy-black-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 3500,
                                "max_sell_price": 3500,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 19:26:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T13:12:02.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 3500,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 129,
                                        "user_id": 1,
                                        "product_id": 33,
                                        "product_sku_id": "95",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 3500,
                                        "status": 1,
                                        "created_at": "2021-09-29T13:12:02.000000Z",
                                        "updated_at": "2021-11-23T20:21:44.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "gallary_images": [
                    {
                        "id": 34,
                        "product_id": 13,
                        "images_source": "uploads/images/28-09-2021/6152b6c3d56ba.jpeg",
                        "media_id": 5,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 35,
                        "product_id": 13,
                        "images_source": "uploads/images/28-09-2021/6152b6c3e34fd.jpeg",
                        "media_id": 6,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 36,
                        "product_id": 13,
                        "images_source": "uploads/images/28-09-2021/6152b6c3f11d4.jpeg",
                        "media_id": 7,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 37,
                        "product_id": 13,
                        "images_source": "uploads/images/28-09-2021/6152b6c40aacb.jpeg",
                        "media_id": 8,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 38,
                        "product_id": 13,
                        "images_source": "uploads/images/28-09-2021/6152b6c4185c3.jpeg",
                        "media_id": 9,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    }
                ],
                "brand": {
                    "id": 8,
                    "name": null,
                    "logo": "uploads/images/24-11-2021/619e243e2e482.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 1,
                    "avg_rating": 0,
                    "slug": "toyota",
                    "created_by": null,
                    "updated_by": 4,
                    "created_at": "2021-09-28T12:16:45.000000Z",
                    "updated_at": "2021-12-10T09:41:34.000000Z"
                },
                "categories": [
                    {
                        "id": 11,
                        "name": null,
                        "slug": "automobiles-bikes",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-car-alt",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 3,
                        "created_at": "2021-09-28T12:13:01.000000Z",
                        "updated_at": "2021-09-28T12:13:01.000000Z",
                        "translateName": "Automobiles & bikes",
                        "pivot": {
                            "product_id": 13,
                            "category_id": 11
                        }
                    },
                    {
                        "id": 12,
                        "name": null,
                        "slug": "cars",
                        "parent_id": 11,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 3,
                        "created_at": "2021-09-28T12:13:45.000000Z",
                        "updated_at": "2021-09-28T12:13:45.000000Z",
                        "translateName": "Cars",
                        "pivot": {
                            "product_id": 13,
                            "category_id": 12
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [
                    {
                        "id": 77,
                        "product_id": 13,
                        "product_sku_id": 58,
                        "attribute_id": 1,
                        "attribute_value_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z"
                    },
                    {
                        "id": 78,
                        "product_id": 13,
                        "product_sku_id": 59,
                        "attribute_id": 1,
                        "attribute_value_id": 4,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z"
                    },
                    {
                        "id": 79,
                        "product_id": 13,
                        "product_sku_id": 60,
                        "attribute_id": 1,
                        "attribute_value_id": 5,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z"
                    },
                    {
                        "id": 80,
                        "product_id": 13,
                        "product_sku_id": 61,
                        "attribute_id": 1,
                        "attribute_value_id": 7,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z"
                    },
                    {
                        "id": 81,
                        "product_id": 13,
                        "product_sku_id": 62,
                        "attribute_id": 1,
                        "attribute_value_id": 33,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-09-28T12:31:32.000000Z"
                    }
                ],
                "skus": [
                    {
                        "id": 58,
                        "product_id": 13,
                        "sku": "PSC-Red",
                        "purchase_price": 0,
                        "selling_price": 10000,
                        "additional_shipping": 50,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "PSC-Red",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z"
                    },
                    {
                        "id": 59,
                        "product_id": 13,
                        "sku": "PSC-Green",
                        "purchase_price": 0,
                        "selling_price": 10000,
                        "additional_shipping": 50,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "PSC-Green",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z"
                    },
                    {
                        "id": 60,
                        "product_id": 13,
                        "sku": "PSC-Yellow",
                        "purchase_price": 0,
                        "selling_price": 10000,
                        "additional_shipping": 50,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "PSC-Yellow",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z"
                    },
                    {
                        "id": 61,
                        "product_id": 13,
                        "sku": "PSC-Blue",
                        "purchase_price": 0,
                        "selling_price": 10000,
                        "additional_shipping": 50,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "PSC-Blue",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z"
                    },
                    {
                        "id": 62,
                        "product_id": 13,
                        "sku": "PSC-Purple",
                        "purchase_price": 0,
                        "selling_price": 10000,
                        "additional_shipping": 50,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "PSC-Purple",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:31:32.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 98,
                        "name": "car",
                        "url": null,
                        "created_at": "2021-11-23T19:36:42.000000Z",
                        "updated_at": "2021-11-23T19:36:42.000000Z",
                        "pivot": {
                            "product_id": 13,
                            "tag_id": 98
                        }
                    },
                    {
                        "id": 124,
                        "name": "new design car",
                        "url": null,
                        "created_at": "2021-11-23T20:33:47.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z",
                        "pivot": {
                            "product_id": 13,
                            "tag_id": 124
                        }
                    },
                    {
                        "id": 99,
                        "name": "sports car",
                        "url": null,
                        "created_at": "2021-11-23T19:36:42.000000Z",
                        "updated_at": "2021-11-23T19:36:42.000000Z",
                        "pivot": {
                            "product_id": 13,
                            "tag_id": 99
                        }
                    },
                    {
                        "id": 125,
                        "name": "premium car",
                        "url": null,
                        "created_at": "2021-11-23T20:33:47.000000Z",
                        "updated_at": "2021-11-23T20:33:47.000000Z",
                        "pivot": {
                            "product_id": 13,
                            "tag_id": 125
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 24,
                    "user_id": 1,
                    "product_id": 10,
                    "product_sku_id": "58",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 10000,
                    "status": 1,
                    "created_at": "2021-09-28T12:32:11.000000Z",
                    "updated_at": "2021-09-28T12:32:11.000000Z",
                    "product_variations": [
                        {
                            "id": 77,
                            "product_id": 13,
                            "product_sku_id": 58,
                            "attribute_id": 1,
                            "attribute_value_id": 2,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:31:32.000000Z",
                            "updated_at": "2021-09-28T12:31:32.000000Z",
                            "attribute_value": {
                                "id": 2,
                                "value": "red",
                                "attribute_id": 1,
                                "created_at": "2021-09-25T18:32:57.000000Z",
                                "updated_at": "2021-09-25T18:32:57.000000Z",
                                "color": {
                                    "id": 2,
                                    "attribute_value_id": 2,
                                    "name": "Red",
                                    "created_at": "2021-09-25T18:32:58.000000Z",
                                    "updated_at": "2021-09-25T18:32:58.000000Z"
                                }
                            },
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 25,
                    "user_id": 1,
                    "product_id": 10,
                    "product_sku_id": "59",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 10000,
                    "status": 1,
                    "created_at": "2021-09-28T12:32:11.000000Z",
                    "updated_at": "2021-09-28T12:32:11.000000Z",
                    "product_variations": [
                        {
                            "id": 78,
                            "product_id": 13,
                            "product_sku_id": 59,
                            "attribute_id": 1,
                            "attribute_value_id": 4,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:31:32.000000Z",
                            "updated_at": "2021-09-28T12:31:32.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 4,
                                "value": "#6aa84f",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 4,
                                    "attribute_value_id": 4,
                                    "name": "Green",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 26,
                    "user_id": 1,
                    "product_id": 10,
                    "product_sku_id": "60",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 10000,
                    "status": 1,
                    "created_at": "2021-09-28T12:32:11.000000Z",
                    "updated_at": "2021-09-28T12:32:11.000000Z",
                    "product_variations": [
                        {
                            "id": 79,
                            "product_id": 13,
                            "product_sku_id": 60,
                            "attribute_id": 1,
                            "attribute_value_id": 5,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:31:32.000000Z",
                            "updated_at": "2021-09-28T12:31:32.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 5,
                                "value": "#ffd966",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 5,
                                    "attribute_value_id": 5,
                                    "name": "Yellow",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 27,
                    "user_id": 1,
                    "product_id": 10,
                    "product_sku_id": "61",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 10000,
                    "status": 1,
                    "created_at": "2021-09-28T12:32:11.000000Z",
                    "updated_at": "2021-09-28T12:32:11.000000Z",
                    "product_variations": [
                        {
                            "id": 80,
                            "product_id": 13,
                            "product_sku_id": 61,
                            "attribute_id": 1,
                            "attribute_value_id": 7,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:31:32.000000Z",
                            "updated_at": "2021-09-28T12:31:32.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 7,
                                "value": "#258cd9",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 7,
                                    "attribute_value_id": 7,
                                    "name": "Blue",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 28,
                    "user_id": 1,
                    "product_id": 10,
                    "product_sku_id": "62",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 10000,
                    "status": 1,
                    "created_at": "2021-09-28T12:32:11.000000Z",
                    "updated_at": "2021-09-28T12:32:11.000000Z",
                    "product_variations": [
                        {
                            "id": 81,
                            "product_id": 13,
                            "product_sku_id": 62,
                            "attribute_id": 1,
                            "attribute_value_id": 33,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:31:32.000000Z",
                            "updated_at": "2021-09-28T12:31:32.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 33,
                                "value": "#6728a3",
                                "attribute_id": 1,
                                "created_at": "2021-09-28T10:09:06.000000Z",
                                "updated_at": "2021-09-28T10:09:06.000000Z",
                                "color": {
                                    "id": 10,
                                    "attribute_value_id": 33,
                                    "name": "Purple",
                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                    "updated_at": "2021-09-28T10:09:06.000000Z"
                                }
                            }
                        }
                    ]
                }
            ],
            "reviews": []
        },
        {
            "id": 11,
            "user_id": 1,
            "product_id": 14,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "casual-sun-glass",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 25,
            "max_sell_price": 25,
            "total_sale": 1,
            "avg_rating": 0,
            "recent_view": "2022-10-19 16:06:15",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2021-09-28T12:46:21.000000Z",
            "updated_at": "2022-10-24T09:58:12.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "Red",
                        "Green",
                        "Yellow",
                        "Blue",
                        "Pink"
                    ],
                    "code": [
                        "red",
                        "#6aa84f",
                        "#ffd966",
                        "#258cd9",
                        "#fdb4b4"
                    ],
                    "attr_val_id": [
                        2,
                        4,
                        5,
                        7,
                        9
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 25,
            "hasDeal": {
                "id": 19,
                "flash_deal_id": 1,
                "seller_product_id": 11,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:49:18.000000Z",
                "updated_at": "2021-11-25T13:49:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": {
                "id": 19,
                "flash_deal_id": 1,
                "seller_product_id": 11,
                "discount": 5,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-11-25T13:49:18.000000Z",
                "updated_at": "2021-11-25T13:49:18.000000Z",
                "flash_deal": {
                    "id": 1,
                    "title": "Eid Flash Sale",
                    "background_color": "white",
                    "text_color": "#5b5b5b",
                    "start_date": "2022-09-01",
                    "end_date": "2023-04-30",
                    "slug": "eid-flash-sale-xiaiq",
                    "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                    "status": 1,
                    "is_featured": 1,
                    "created_by": 1,
                    "updated_by": 1,
                    "created_at": "2021-09-28T14:05:36.000000Z",
                    "updated_at": "2022-09-13T09:32:47.000000Z"
                }
            },
            "product": {
                "id": 14,
                "product_name": null,
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 10,
                "thumbnail_image_source": "uploads/images/03-10-2021/6159b7fa8faae.jpeg",
                "media_ids": "14,15,16,17",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "csg-001",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": "1",
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/28-09-2021/6152ba09ecbd5.jpeg",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "casual-sun-glass",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2021-09-28T12:45:29.000000Z",
                "updated_at": "2022-04-07T15:37:05.000000Z",
                "translateProductName": "Casual Sun Glass",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null,
                "shipping_methods": [
                    {
                        "id": 24,
                        "product_id": 14,
                        "shipping_method_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "shipping_method": {
                            "id": 2,
                            "method_name": "Flat Rate",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "+8806565656",
                            "shipment_time": "5-8 days",
                            "cost": 15,
                            "minimum_shopping": 20,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": null,
                            "updated_at": "2022-05-05T05:52:13.000000Z"
                        }
                    },
                    {
                        "id": 25,
                        "product_id": 14,
                        "shipping_method_id": 3,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "shipping_method": {
                            "id": 3,
                            "method_name": "Free Shipping",
                            "carrier_id": 1,
                            "cost_based_on": "Flat",
                            "logo": null,
                            "phone": "87348398593489",
                            "shipment_time": "8-12 days",
                            "cost": 0,
                            "minimum_shopping": 100,
                            "is_active": 1,
                            "request_by_user": 1,
                            "is_approved": 1,
                            "created_at": "2021-09-26T11:51:04.000000Z",
                            "updated_at": "2022-10-07T14:13:35.000000Z"
                        }
                    }
                ],
                "up_sales": [
                    {
                        "id": 14,
                        "product_id": 14,
                        "up_sale_product_id": 6,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "up_seller_products": [
                            {
                                "id": 12,
                                "user_id": 1,
                                "product_id": 6,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-fashion-women-bag",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 20,
                                "max_sell_price": 22,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-10-04 12:45:22",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T12:53:33.000000Z",
                                "updated_at": "2022-10-04T06:45:22.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Purple",
                                            "Deep Green",
                                            "Brown"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#6728a3",
                                            "#3fa3b8",
                                            "#770707"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            33,
                                            34,
                                            35
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 22,
                                "hasDeal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 34,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "6",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 1,
                                                "product_id": 6,
                                                "product_sku_id": 6,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 35,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "7",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 2,
                                                "product_id": 6,
                                                "product_sku_id": 7,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 36,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "8",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 3,
                                                "product_id": 6,
                                                "product_sku_id": 8,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 37,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "9",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 4,
                                                "product_id": 6,
                                                "product_sku_id": 9,
                                                "attribute_id": 1,
                                                "attribute_value_id": 34,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 34,
                                                    "value": "#3fa3b8",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 11,
                                                        "attribute_value_id": 34,
                                                        "name": "Deep Green",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 38,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "10",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 22,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 5,
                                                "product_id": 6,
                                                "product_sku_id": 10,
                                                "attribute_id": 1,
                                                "attribute_value_id": 35,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 35,
                                                    "value": "#770707",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:13:24.000000Z",
                                                    "updated_at": "2021-09-28T10:13:24.000000Z",
                                                    "color": {
                                                        "id": 12,
                                                        "attribute_value_id": 35,
                                                        "name": "Brown",
                                                        "created_at": "2021-09-28T10:13:24.000000Z",
                                                        "updated_at": "2021-09-28T10:13:24.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 76,
                        "product_id": 14,
                        "up_sale_product_id": 73,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "up_seller_products": [
                            {
                                "id": 69,
                                "user_id": 1,
                                "product_id": 73,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 2,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "women-bag-latest-design-0087",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 33,
                                "max_sell_price": 33,
                                "total_sale": 3,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 21:31:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T20:45:31.000000Z",
                                "updated_at": "2022-05-31T12:26:05.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 33,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 176,
                                        "user_id": 1,
                                        "product_id": 69,
                                        "product_sku_id": "151",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 33,
                                        "status": 1,
                                        "created_at": "2021-11-23T20:45:31.000000Z",
                                        "updated_at": "2021-11-23T20:45:31.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 77,
                        "product_id": 14,
                        "up_sale_product_id": 72,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "up_seller_products": []
                    },
                    {
                        "id": 78,
                        "product_id": 14,
                        "up_sale_product_id": 69,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "up_seller_products": [
                            {
                                "id": 65,
                                "user_id": 1,
                                "product_id": 69,
                                "tax": 3,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-design-women-bag-2021",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 39,
                                "max_sell_price": 39,
                                "total_sale": 9,
                                "avg_rating": 0,
                                "recent_view": "2022-08-02 13:31:13",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:54:32.000000Z",
                                "updated_at": "2022-08-02T07:31:13.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 39,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 172,
                                        "user_id": 1,
                                        "product_id": 65,
                                        "product_sku_id": "147",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 39,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:54:32.000000Z",
                                        "updated_at": "2021-11-23T19:54:32.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 79,
                        "product_id": 14,
                        "up_sale_product_id": 65,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "up_seller_products": [
                            {
                                "id": 61,
                                "user_id": 1,
                                "product_id": 65,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "latest-design-women-bag-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 25,
                                "max_sell_price": 26,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-07-13 16:02:54",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T18:36:41.000000Z",
                                "updated_at": "2022-08-16T07:44:38.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Golden"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#fce5cd"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            8
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 26,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 166,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "141",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 139,
                                                "product_id": 65,
                                                "product_sku_id": 141,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 167,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "142",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 25,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 140,
                                                "product_id": 65,
                                                "product_sku_id": 142,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 168,
                                        "user_id": 1,
                                        "product_id": 61,
                                        "product_sku_id": "143",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 26,
                                        "status": 1,
                                        "created_at": "2021-11-23T18:36:41.000000Z",
                                        "updated_at": "2021-11-23T18:36:41.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 141,
                                                "product_id": 65,
                                                "product_sku_id": 143,
                                                "attribute_id": 1,
                                                "attribute_value_id": 8,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-11-23T18:36:41.000000Z",
                                                "updated_at": "2021-11-23T18:36:41.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 8,
                                                    "value": "#fce5cd",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 8,
                                                        "attribute_value_id": 8,
                                                        "name": "Golden",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "cross_sales": [
                    {
                        "id": 19,
                        "product_id": 14,
                        "cross_sale_product_id": 6,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 12,
                                "user_id": 1,
                                "product_id": 6,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "0",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "new-fashion-women-bag",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 20,
                                "max_sell_price": 22,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-10-04 12:45:22",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-28T12:53:33.000000Z",
                                "updated_at": "2022-10-04T06:45:22.000000Z",
                                "variantDetails": [
                                    {
                                        "value": [
                                            "Green",
                                            "Blue",
                                            "Purple",
                                            "Deep Green",
                                            "Brown"
                                        ],
                                        "code": [
                                            "#6aa84f",
                                            "#258cd9",
                                            "#6728a3",
                                            "#3fa3b8",
                                            "#770707"
                                        ],
                                        "attr_val_id": [
                                            4,
                                            7,
                                            33,
                                            34,
                                            35
                                        ],
                                        "name": "Color",
                                        "attr_id": 1
                                    }
                                ],
                                "MaxSellingPrice": 22,
                                "hasDeal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 9,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 12,
                                    "discount": 5,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 34,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "6",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 1,
                                                "product_id": 6,
                                                "product_sku_id": 6,
                                                "attribute_id": 1,
                                                "attribute_value_id": 4,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute_value": {
                                                    "id": 4,
                                                    "value": "#6aa84f",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 4,
                                                        "attribute_value_id": 4,
                                                        "name": "Green",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                },
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 35,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "7",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:56.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 2,
                                                "product_id": 6,
                                                "product_sku_id": 7,
                                                "attribute_id": 1,
                                                "attribute_value_id": 7,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 7,
                                                    "value": "#258cd9",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                                    "updated_at": "2021-09-26T11:44:20.000000Z",
                                                    "color": {
                                                        "id": 7,
                                                        "attribute_value_id": 7,
                                                        "name": "Blue",
                                                        "created_at": "2021-09-26T11:44:20.000000Z",
                                                        "updated_at": "2021-09-26T11:44:20.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 36,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "8",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 3,
                                                "product_id": 6,
                                                "product_sku_id": 8,
                                                "attribute_id": 1,
                                                "attribute_value_id": 33,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 33,
                                                    "value": "#6728a3",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 10,
                                                        "attribute_value_id": 33,
                                                        "name": "Purple",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 37,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "9",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 4,
                                                "product_id": 6,
                                                "product_sku_id": 9,
                                                "attribute_id": 1,
                                                "attribute_value_id": 34,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 34,
                                                    "value": "#3fa3b8",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:09:06.000000Z",
                                                    "updated_at": "2021-09-28T10:09:06.000000Z",
                                                    "color": {
                                                        "id": 11,
                                                        "attribute_value_id": 34,
                                                        "name": "Deep Green",
                                                        "created_at": "2021-09-28T10:09:06.000000Z",
                                                        "updated_at": "2021-09-28T10:09:06.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": 38,
                                        "user_id": 1,
                                        "product_id": 12,
                                        "product_sku_id": "10",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 22,
                                        "status": 1,
                                        "created_at": "2021-09-28T12:53:33.000000Z",
                                        "updated_at": "2021-11-23T17:07:57.000000Z",
                                        "product_variations": [
                                            {
                                                "id": 5,
                                                "product_id": 6,
                                                "product_sku_id": 10,
                                                "attribute_id": 1,
                                                "attribute_value_id": 35,
                                                "created_by": null,
                                                "updated_by": null,
                                                "created_at": "2021-09-28T10:16:06.000000Z",
                                                "updated_at": "2021-09-28T10:16:06.000000Z",
                                                "attribute": {
                                                    "id": 1,
                                                    "name": null,
                                                    "display_type": "radio_button",
                                                    "description": null,
                                                    "status": 1,
                                                    "created_by": null,
                                                    "updated_by": 1,
                                                    "created_at": "2018-11-05T02:12:26.000000Z",
                                                    "updated_at": "2022-06-15T04:57:42.000000Z"
                                                },
                                                "attribute_value": {
                                                    "id": 35,
                                                    "value": "#770707",
                                                    "attribute_id": 1,
                                                    "created_at": "2021-09-28T10:13:24.000000Z",
                                                    "updated_at": "2021-09-28T10:13:24.000000Z",
                                                    "color": {
                                                        "id": 12,
                                                        "attribute_value_id": 35,
                                                        "name": "Brown",
                                                        "created_at": "2021-09-28T10:13:24.000000Z",
                                                        "updated_at": "2021-09-28T10:13:24.000000Z"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 20,
                        "product_id": 14,
                        "cross_sale_product_id": 4,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 4,
                                "user_id": 1,
                                "product_id": 4,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclisive-watch-2",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 40,
                                "max_sell_price": 40,
                                "total_sale": 6,
                                "avg_rating": 0,
                                "recent_view": "2022-08-02 16:22:35",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:21:30.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 40,
                                "hasDeal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 4,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 4,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 4,
                                        "user_id": 1,
                                        "product_id": 4,
                                        "product_sku_id": "4",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 40,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:21:30.000000Z",
                                        "updated_at": "2021-11-23T16:59:06.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 21,
                        "product_id": 14,
                        "cross_sale_product_id": 3,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z",
                        "cross_seller_products": [
                            {
                                "id": 3,
                                "user_id": 1,
                                "product_id": 3,
                                "tax": 5,
                                "tax_type": "0",
                                "discount": 5,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-watch-1",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 65,
                                "max_sell_price": 65,
                                "total_sale": 2,
                                "avg_rating": 4.5,
                                "recent_view": "2022-10-14 14:33:18",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-26T12:20:50.000000Z",
                                "updated_at": "2022-10-14T08:33:18.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 65,
                                "hasDeal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 3,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 3,
                                    "discount": 5,
                                    "discount_type": 1,
                                    "status": 1,
                                    "created_at": "2021-09-28T14:05:36.000000Z",
                                    "updated_at": "2021-09-28T14:06:18.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 3,
                                        "user_id": 1,
                                        "product_id": 3,
                                        "product_sku_id": "3",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 65,
                                        "status": 1,
                                        "created_at": "2021-09-26T12:20:50.000000Z",
                                        "updated_at": "2021-11-23T16:57:21.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    }
                ],
                "related_products": [
                    {
                        "id": 75,
                        "product_id": 14,
                        "related_sale_product_id": 68,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 64,
                                "user_id": 1,
                                "product_id": 68,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 0,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "casual-sunglass-for-summer-001",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 1,
                                "min_sell_price": 20,
                                "max_sell_price": 20,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-09-26 15:56:43",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-23T19:31:03.000000Z",
                                "updated_at": "2022-09-26T09:56:43.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 20,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "no",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 171,
                                        "user_id": 1,
                                        "product_id": 64,
                                        "product_sku_id": "146",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 20,
                                        "status": 1,
                                        "created_at": "2021-11-23T19:31:03.000000Z",
                                        "updated_at": "2021-11-23T19:31:03.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 76,
                        "product_id": 14,
                        "related_sale_product_id": 41,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": []
                    },
                    {
                        "id": 77,
                        "product_id": 14,
                        "related_sale_product_id": 40,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 82,
                                "user_id": 1,
                                "product_id": 40,
                                "tax": 2,
                                "tax_type": "1",
                                "discount": 3,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "sun-glass-for-girls",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 44,
                                "max_sell_price": 44,
                                "total_sale": 27,
                                "avg_rating": 0,
                                "recent_view": "2022-10-27 15:32:18",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-11-25T09:26:15.000000Z",
                                "updated_at": "2022-10-27T11:47:09.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 44,
                                "hasDeal": {
                                    "id": 23,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 82,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T17:59:13.000000Z",
                                    "updated_at": "2021-11-25T17:59:13.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": {
                                    "id": 23,
                                    "flash_deal_id": 1,
                                    "seller_product_id": 82,
                                    "discount": 10,
                                    "discount_type": 0,
                                    "status": 1,
                                    "created_at": "2021-11-25T17:59:13.000000Z",
                                    "updated_at": "2021-11-25T17:59:13.000000Z",
                                    "flash_deal": {
                                        "id": 1,
                                        "title": "Eid Flash Sale",
                                        "background_color": "white",
                                        "text_color": "#5b5b5b",
                                        "start_date": "2022-09-01",
                                        "end_date": "2023-04-30",
                                        "slug": "eid-flash-sale-xiaiq",
                                        "banner_image": "uploads/images/26-07-2022/62dffcaad06ae.jpeg",
                                        "status": 1,
                                        "is_featured": 1,
                                        "created_by": 1,
                                        "updated_by": 1,
                                        "created_at": "2021-09-28T14:05:36.000000Z",
                                        "updated_at": "2022-09-13T09:32:47.000000Z"
                                    }
                                },
                                "skus": [
                                    {
                                        "id": 200,
                                        "user_id": 1,
                                        "product_id": 82,
                                        "product_sku_id": "108",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 44,
                                        "status": 1,
                                        "created_at": "2021-11-25T09:29:39.000000Z",
                                        "updated_at": "2021-11-25T09:29:39.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 78,
                        "product_id": 14,
                        "related_sale_product_id": 39,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 47,
                                "user_id": 1,
                                "product_id": 39,
                                "tax": 4,
                                "tax_type": "1",
                                "discount": 6,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "exclusive-eye-glass",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 44,
                                "max_sell_price": 44,
                                "total_sale": 0,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 16:59:38",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:36:05.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 44,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 143,
                                        "user_id": 1,
                                        "product_id": 47,
                                        "product_sku_id": "107",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 44,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:36:05.000000Z",
                                        "updated_at": "2021-09-29T15:36:05.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 79,
                        "product_id": 14,
                        "related_sale_product_id": 38,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 48,
                                "user_id": 1,
                                "product_id": 38,
                                "tax": 3,
                                "tax_type": "1",
                                "discount": 2,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "eye-glass-002",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 56,
                                "max_sell_price": 56,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2022-08-10 18:15:49",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:36:30.000000Z",
                                "updated_at": "2022-08-10T12:15:49.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 56,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 144,
                                        "user_id": 1,
                                        "product_id": 48,
                                        "product_sku_id": "106",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 56,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:36:30.000000Z",
                                        "updated_at": "2021-09-29T15:36:30.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 80,
                        "product_id": 14,
                        "related_sale_product_id": 37,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 45,
                                "user_id": 1,
                                "product_id": 37,
                                "tax": 0,
                                "tax_type": "1",
                                "discount": 3,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "eye-glass",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 55,
                                "max_sell_price": 55,
                                "total_sale": 1,
                                "avg_rating": 0,
                                "recent_view": "2021-12-12 16:59:38",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:35:04.000000Z",
                                "updated_at": "2022-08-16T07:44:37.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 55,
                                "hasDeal": 0,
                                "rating": 0,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 141,
                                        "user_id": 1,
                                        "product_id": 45,
                                        "product_sku_id": "105",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 55,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:35:04.000000Z",
                                        "updated_at": "2021-09-29T15:35:04.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": []
                            }
                        ]
                    },
                    {
                        "id": 81,
                        "product_id": 14,
                        "related_sale_product_id": 36,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "related_seller_products": [
                            {
                                "id": 46,
                                "user_id": 1,
                                "product_id": 36,
                                "tax": 3,
                                "tax_type": "1",
                                "discount": 6,
                                "discount_type": "1",
                                "discount_start_date": null,
                                "discount_end_date": null,
                                "product_name": null,
                                "slug": "sun-glass-for-man",
                                "thum_img": null,
                                "status": 1,
                                "stock_manage": 0,
                                "is_approved": 0,
                                "min_sell_price": 50,
                                "max_sell_price": 50,
                                "total_sale": 19,
                                "avg_rating": 4,
                                "recent_view": "2022-10-18 11:46:29",
                                "subtitle_1": null,
                                "subtitle_2": null,
                                "created_at": "2021-09-29T15:35:29.000000Z",
                                "updated_at": "2022-10-18T05:46:29.000000Z",
                                "variantDetails": [],
                                "MaxSellingPrice": 50,
                                "hasDeal": 0,
                                "rating": 3.75,
                                "hasDiscount": "yes",
                                "ProductType": "product",
                                "flash_deal": null,
                                "skus": [
                                    {
                                        "id": 142,
                                        "user_id": 1,
                                        "product_id": 46,
                                        "product_sku_id": "104",
                                        "product_stock": 0,
                                        "purchase_price": 0,
                                        "selling_price": 50,
                                        "status": 1,
                                        "created_at": "2021-09-29T15:35:29.000000Z",
                                        "updated_at": "2021-09-29T15:35:29.000000Z",
                                        "product_variations": []
                                    }
                                ],
                                "reviews": [
                                    {
                                        "id": 1,
                                        "customer_id": 4,
                                        "seller_id": 1,
                                        "product_id": 46,
                                        "order_id": 9,
                                        "package_id": 9,
                                        "type": "product",
                                        "review": "Best",
                                        "rating": 4,
                                        "is_anonymous": 0,
                                        "status": 1,
                                        "created_at": "2021-11-23T12:50:49.000000Z",
                                        "updated_at": "2022-06-15T05:59:43.000000Z"
                                    },
                                    {
                                        "id": 2,
                                        "customer_id": 4,
                                        "seller_id": 1,
                                        "product_id": 46,
                                        "order_id": 142,
                                        "package_id": 138,
                                        "type": "product",
                                        "review": "Product is good. Recomanded.",
                                        "rating": 5,
                                        "is_anonymous": 1,
                                        "status": 1,
                                        "created_at": "2022-06-21T06:01:37.000000Z",
                                        "updated_at": "2022-06-21T06:27:24.000000Z"
                                    },
                                    {
                                        "id": 3,
                                        "customer_id": 26,
                                        "seller_id": 1,
                                        "product_id": 46,
                                        "order_id": 144,
                                        "package_id": 140,
                                        "type": "product",
                                        "review": "product is good. but late delivery.",
                                        "rating": 3,
                                        "is_anonymous": 0,
                                        "status": 1,
                                        "created_at": "2022-06-21T06:18:56.000000Z",
                                        "updated_at": "2022-06-21T06:27:43.000000Z"
                                    },
                                    {
                                        "id": 4,
                                        "customer_id": 26,
                                        "seller_id": 1,
                                        "product_id": 46,
                                        "order_id": 143,
                                        "package_id": 139,
                                        "type": "product",
                                        "review": "Product is average quality. Not recomanded.",
                                        "rating": 3,
                                        "is_anonymous": 1,
                                        "status": 1,
                                        "created_at": "2022-06-21T06:23:54.000000Z",
                                        "updated_at": "2022-06-21T06:27:50.000000Z"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "gallary_images": [
                    {
                        "id": 83,
                        "product_id": 14,
                        "images_source": "uploads/images/03-10-2021/6159b7fa97224.jpeg",
                        "media_id": 14,
                        "created_at": "2021-10-03T20:02:34.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 84,
                        "product_id": 14,
                        "images_source": "uploads/images/03-10-2021/6159b7fa9e95c.jpeg",
                        "media_id": 15,
                        "created_at": "2021-10-03T20:02:34.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 85,
                        "product_id": 14,
                        "images_source": "uploads/images/03-10-2021/6159b7faa743c.jpeg",
                        "media_id": 16,
                        "created_at": "2021-10-03T20:02:34.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    },
                    {
                        "id": 86,
                        "product_id": 14,
                        "images_source": "uploads/images/03-10-2021/6159b7faaeb47.jpeg",
                        "media_id": 17,
                        "created_at": "2021-10-03T20:02:34.000000Z",
                        "updated_at": "2022-04-07T15:37:05.000000Z"
                    }
                ],
                "brand": {
                    "id": 10,
                    "name": null,
                    "logo": "uploads/images/24-11-2021/619e245b36154.png",
                    "description": null,
                    "link": null,
                    "status": 1,
                    "featured": 1,
                    "meta_title": null,
                    "meta_description": null,
                    "sort_id": null,
                    "total_sale": 49,
                    "avg_rating": 0.8,
                    "slug": "ray-ban",
                    "created_by": null,
                    "updated_by": 44,
                    "created_at": "2021-09-28T12:39:52.000000Z",
                    "updated_at": "2022-10-27T11:47:09.000000Z"
                },
                "categories": [
                    {
                        "id": 1,
                        "name": null,
                        "slug": "women-fashion",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-female",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-09-26T11:39:08.000000Z",
                        "updated_at": "2022-05-09T04:59:55.000000Z",
                        "translateName": "Women Fashion",
                        "pivot": {
                            "product_id": 14,
                            "category_id": 1
                        }
                    },
                    {
                        "id": 13,
                        "name": null,
                        "slug": "sun-glasses",
                        "parent_id": 0,
                        "depth_level": 1,
                        "icon": "fas fa-glasses",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T12:36:34.000000Z",
                        "updated_at": "2021-09-28T12:36:34.000000Z",
                        "translateName": "Sun Glasses",
                        "pivot": {
                            "product_id": 14,
                            "category_id": 13
                        }
                    }
                ],
                "unit_type": {
                    "id": 1,
                    "name": null,
                    "description": null,
                    "status": 1,
                    "created_by": null,
                    "updated_by": null,
                    "created_at": "2021-09-26T11:49:57.000000Z",
                    "updated_at": "2021-09-26T11:49:57.000000Z",
                    "translateName": "PCS"
                },
                "variations": [
                    {
                        "id": 82,
                        "product_id": 14,
                        "product_sku_id": 63,
                        "attribute_id": 1,
                        "attribute_value_id": 2,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 83,
                        "product_id": 14,
                        "product_sku_id": 64,
                        "attribute_id": 1,
                        "attribute_value_id": 4,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 84,
                        "product_id": 14,
                        "product_sku_id": 65,
                        "attribute_id": 1,
                        "attribute_value_id": 5,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 85,
                        "product_id": 14,
                        "product_sku_id": 66,
                        "attribute_id": 1,
                        "attribute_value_id": 7,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 86,
                        "product_id": 14,
                        "product_sku_id": 67,
                        "attribute_id": 1,
                        "attribute_value_id": 9,
                        "created_by": null,
                        "updated_by": null,
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    }
                ],
                "skus": [
                    {
                        "id": 63,
                        "product_id": 14,
                        "sku": "CSG-Red",
                        "purchase_price": 0,
                        "selling_price": 25,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "CSG-Red",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 64,
                        "product_id": 14,
                        "sku": "CSG-Green",
                        "purchase_price": 0,
                        "selling_price": 25,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "CSG-Green",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 65,
                        "product_id": 14,
                        "sku": "CSG-Yellow",
                        "purchase_price": 0,
                        "selling_price": 25,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "CSG-Yellow",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 66,
                        "product_id": 14,
                        "sku": "CSG-Blue",
                        "purchase_price": 0,
                        "selling_price": 25,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "CSG-Blue",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    },
                    {
                        "id": 67,
                        "product_id": 14,
                        "sku": "CSG-Pink",
                        "purchase_price": 0,
                        "selling_price": 25,
                        "additional_shipping": 0,
                        "variant_image": null,
                        "status": 1,
                        "product_stock": 0,
                        "track_sku": "CSG-Pink",
                        "weight": "500",
                        "length": "30",
                        "breadth": "20",
                        "height": "10",
                        "created_at": "2021-09-28T12:45:30.000000Z",
                        "updated_at": "2021-09-28T12:45:30.000000Z"
                    }
                ],
                "tags": [
                    {
                        "id": 166,
                        "name": "glass",
                        "url": null,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 166
                        }
                    },
                    {
                        "id": 95,
                        "name": "sunglass",
                        "url": null,
                        "created_at": "2021-11-23T19:31:03.000000Z",
                        "updated_at": "2021-11-23T19:31:03.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 95
                        }
                    },
                    {
                        "id": 93,
                        "name": "summer glass",
                        "url": null,
                        "created_at": "2021-11-23T19:31:03.000000Z",
                        "updated_at": "2021-11-23T19:31:03.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 93
                        }
                    },
                    {
                        "id": 167,
                        "name": "colorful glass",
                        "url": null,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 167
                        }
                    },
                    {
                        "id": 168,
                        "name": "women glass",
                        "url": null,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 168
                        }
                    },
                    {
                        "id": 169,
                        "name": "women fashion",
                        "url": null,
                        "created_at": "2021-11-24T17:06:45.000000Z",
                        "updated_at": "2021-11-24T17:06:45.000000Z",
                        "pivot": {
                            "product_id": 14,
                            "tag_id": 169
                        }
                    }
                ]
            },
            "skus": [
                {
                    "id": 29,
                    "user_id": 1,
                    "product_id": 11,
                    "product_sku_id": "63",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 25,
                    "status": 1,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2021-09-28T12:46:21.000000Z",
                    "product_variations": [
                        {
                            "id": 82,
                            "product_id": 14,
                            "product_sku_id": 63,
                            "attribute_id": 1,
                            "attribute_value_id": 2,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:45:30.000000Z",
                            "updated_at": "2021-09-28T12:45:30.000000Z",
                            "attribute_value": {
                                "id": 2,
                                "value": "red",
                                "attribute_id": 1,
                                "created_at": "2021-09-25T18:32:57.000000Z",
                                "updated_at": "2021-09-25T18:32:57.000000Z",
                                "color": {
                                    "id": 2,
                                    "attribute_value_id": 2,
                                    "name": "Red",
                                    "created_at": "2021-09-25T18:32:58.000000Z",
                                    "updated_at": "2021-09-25T18:32:58.000000Z"
                                }
                            },
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 30,
                    "user_id": 1,
                    "product_id": 11,
                    "product_sku_id": "64",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 25,
                    "status": 1,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2021-09-28T12:46:21.000000Z",
                    "product_variations": [
                        {
                            "id": 83,
                            "product_id": 14,
                            "product_sku_id": 64,
                            "attribute_id": 1,
                            "attribute_value_id": 4,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:45:30.000000Z",
                            "updated_at": "2021-09-28T12:45:30.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 4,
                                "value": "#6aa84f",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 4,
                                    "attribute_value_id": 4,
                                    "name": "Green",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 31,
                    "user_id": 1,
                    "product_id": 11,
                    "product_sku_id": "65",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 25,
                    "status": 1,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2021-09-28T12:46:21.000000Z",
                    "product_variations": [
                        {
                            "id": 84,
                            "product_id": 14,
                            "product_sku_id": 65,
                            "attribute_id": 1,
                            "attribute_value_id": 5,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:45:30.000000Z",
                            "updated_at": "2021-09-28T12:45:30.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 5,
                                "value": "#ffd966",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 5,
                                    "attribute_value_id": 5,
                                    "name": "Yellow",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 32,
                    "user_id": 1,
                    "product_id": 11,
                    "product_sku_id": "66",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 25,
                    "status": 1,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2021-09-28T12:46:21.000000Z",
                    "product_variations": [
                        {
                            "id": 85,
                            "product_id": 14,
                            "product_sku_id": 66,
                            "attribute_id": 1,
                            "attribute_value_id": 7,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:45:30.000000Z",
                            "updated_at": "2021-09-28T12:45:30.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 7,
                                "value": "#258cd9",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 7,
                                    "attribute_value_id": 7,
                                    "name": "Blue",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                },
                {
                    "id": 33,
                    "user_id": 1,
                    "product_id": 11,
                    "product_sku_id": "67",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 25,
                    "status": 1,
                    "created_at": "2021-09-28T12:46:21.000000Z",
                    "updated_at": "2021-09-28T12:46:21.000000Z",
                    "product_variations": [
                        {
                            "id": 86,
                            "product_id": 14,
                            "product_sku_id": 67,
                            "attribute_id": 1,
                            "attribute_value_id": 9,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2021-09-28T12:45:30.000000Z",
                            "updated_at": "2021-09-28T12:45:30.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 9,
                                "value": "#fdb4b4",
                                "attribute_id": 1,
                                "created_at": "2021-09-26T11:44:20.000000Z",
                                "updated_at": "2021-09-26T11:44:20.000000Z",
                                "color": {
                                    "id": 9,
                                    "attribute_value_id": 9,
                                    "name": "Pink",
                                    "created_at": "2021-09-26T11:44:20.000000Z",
                                    "updated_at": "2021-09-26T11:44:20.000000Z"
                                }
                            }
                        }
                    ]
                }
            ],
            "reviews": []
        }
    ],
    "msg": "success"
}
 

Request   

GET api/homepage-data

GET api/category-list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/category-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/category-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/category-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
access-control-allow-origin: *
 

{
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "name": null,
                "slug": "women-fashion",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-female",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 0,
                "created_at": "2021-09-26T11:39:08.000000Z",
                "updated_at": "2022-05-09T04:59:55.000000Z",
                "translateName": "Women Fashion",
                "category_image": {
                    "category_id": 1
                },
                "parent_category": null,
                "sub_categories": [
                    {
                        "id": 25,
                        "name": null,
                        "slug": "shari",
                        "parent_id": 1,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-11-22T09:59:49.000000Z",
                        "updated_at": "2022-05-09T10:19:12.000000Z",
                        "translateName": "Shari",
                        "sub_categories": []
                    }
                ]
            },
            {
                "id": 2,
                "name": null,
                "slug": "men-fashion",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-male",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 5,
                "created_at": "2021-09-26T11:39:30.000000Z",
                "updated_at": "2021-09-26T11:39:30.000000Z",
                "translateName": "Men Fashion",
                "category_image": {
                    "category_id": 2
                },
                "parent_category": null,
                "sub_categories": []
            },
            {
                "id": 3,
                "name": null,
                "slug": "bags",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-shopping-bag",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 5,
                "created_at": "2021-09-26T11:40:17.000000Z",
                "updated_at": "2021-09-26T11:40:17.000000Z",
                "translateName": "Bags",
                "category_image": {
                    "category_id": 3
                },
                "parent_category": null,
                "sub_categories": []
            },
            {
                "id": 4,
                "name": null,
                "slug": "watch",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "far fa-clock",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 1,
                "avg_rating": 0,
                "commission_rate": 6,
                "created_at": "2021-09-26T11:40:46.000000Z",
                "updated_at": "2021-10-13T16:57:04.000000Z",
                "translateName": "Watch",
                "category_image": {
                    "id": 1,
                    "category_id": 4,
                    "image": "uploads/images/04-10-2021/615a87b570846.jpeg",
                    "created_at": "2021-09-26T11:40:46.000000Z",
                    "updated_at": "2021-10-04T10:48:53.000000Z"
                },
                "parent_category": null,
                "sub_categories": []
            },
            {
                "id": 6,
                "name": null,
                "slug": "shoes",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-shoe-prints",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 5,
                "created_at": "2021-09-28T10:37:23.000000Z",
                "updated_at": "2021-09-28T10:37:23.000000Z",
                "translateName": "Shoes",
                "category_image": {
                    "id": 2,
                    "category_id": 6,
                    "image": "uploads/images/04-10-2021/615a88007ff43.jpeg",
                    "created_at": "2021-09-28T10:37:23.000000Z",
                    "updated_at": "2021-10-04T10:50:08.000000Z"
                },
                "parent_category": null,
                "sub_categories": [
                    {
                        "id": 7,
                        "name": null,
                        "slug": "men-shoes",
                        "parent_id": 6,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 2,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T10:38:09.000000Z",
                        "updated_at": "2021-10-13T16:52:29.000000Z",
                        "translateName": "Men Shoes",
                        "sub_categories": []
                    },
                    {
                        "id": 8,
                        "name": null,
                        "slug": "women-shoes",
                        "parent_id": 6,
                        "depth_level": 2,
                        "icon": "fas fa-shoe-prints",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T10:40:31.000000Z",
                        "updated_at": "2021-09-28T10:40:31.000000Z",
                        "translateName": "Women Shoes",
                        "sub_categories": []
                    }
                ]
            },
            {
                "id": 9,
                "name": null,
                "slug": "furnitures",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-couch",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 0,
                "created_at": "2021-09-28T11:17:57.000000Z",
                "updated_at": "2022-05-09T10:18:36.000000Z",
                "translateName": "Furnitures",
                "category_image": {
                    "id": 5,
                    "category_id": 9,
                    "image": "uploads/images/04-10-2021/615a882b4e10d.png",
                    "created_at": "2021-09-28T11:17:57.000000Z",
                    "updated_at": "2021-10-04T10:50:51.000000Z"
                },
                "parent_category": null,
                "sub_categories": [
                    {
                        "id": 10,
                        "name": null,
                        "slug": "sofa",
                        "parent_id": 9,
                        "depth_level": 2,
                        "icon": "fas fa-couch",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 2,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T11:18:58.000000Z",
                        "updated_at": "2021-10-13T16:58:47.000000Z",
                        "translateName": "Sofa",
                        "sub_categories": []
                    },
                    {
                        "id": 27,
                        "name": null,
                        "slug": "wooden-furniture",
                        "parent_id": 9,
                        "depth_level": 2,
                        "icon": "fas fa-couch",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 0,
                        "created_at": "2021-11-23T19:21:17.000000Z",
                        "updated_at": "2021-11-23T19:21:17.000000Z",
                        "translateName": "Wooden Furniture",
                        "sub_categories": []
                    }
                ]
            },
            {
                "id": 11,
                "name": null,
                "slug": "automobiles-bikes",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-car-alt",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 3,
                "created_at": "2021-09-28T12:13:01.000000Z",
                "updated_at": "2021-09-28T12:13:01.000000Z",
                "translateName": "Automobiles & bikes",
                "category_image": {
                    "id": 7,
                    "category_id": 11,
                    "image": "uploads/images/04-10-2021/615a88433daae.jpeg",
                    "created_at": "2021-09-28T12:13:01.000000Z",
                    "updated_at": "2021-10-04T10:51:15.000000Z"
                },
                "parent_category": null,
                "sub_categories": [
                    {
                        "id": 5,
                        "name": null,
                        "slug": "bikes",
                        "parent_id": 11,
                        "depth_level": 2,
                        "icon": "fas fa-motorcycle",
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 2,
                        "created_at": "2021-09-26T12:26:21.000000Z",
                        "updated_at": "2021-10-24T09:43:20.000000Z",
                        "translateName": "Bikes",
                        "sub_categories": []
                    },
                    {
                        "id": 12,
                        "name": null,
                        "slug": "cars",
                        "parent_id": 11,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 0,
                        "avg_rating": 0,
                        "commission_rate": 3,
                        "created_at": "2021-09-28T12:13:45.000000Z",
                        "updated_at": "2021-09-28T12:13:45.000000Z",
                        "translateName": "Cars",
                        "sub_categories": []
                    },
                    {
                        "id": 14,
                        "name": null,
                        "slug": "helmet",
                        "parent_id": 11,
                        "depth_level": 2,
                        "icon": null,
                        "google_product_category_id": null,
                        "searchable": 1,
                        "status": 1,
                        "total_sale": 1,
                        "avg_rating": 0,
                        "commission_rate": 5,
                        "created_at": "2021-09-28T13:11:24.000000Z",
                        "updated_at": "2021-10-13T16:36:00.000000Z",
                        "translateName": "Helmet",
                        "sub_categories": []
                    }
                ]
            },
            {
                "id": 13,
                "name": null,
                "slug": "sun-glasses",
                "parent_id": 0,
                "depth_level": 1,
                "icon": "fas fa-glasses",
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 5,
                "created_at": "2021-09-28T12:36:34.000000Z",
                "updated_at": "2021-09-28T12:36:34.000000Z",
                "translateName": "Sun Glasses",
                "category_image": {
                    "id": 9,
                    "category_id": 13,
                    "image": "uploads/images/04-10-2021/615a8869a7106.jpeg",
                    "created_at": "2021-09-28T12:36:34.000000Z",
                    "updated_at": "2021-10-04T10:51:53.000000Z"
                },
                "parent_category": null,
                "sub_categories": []
            },
            {
                "id": 15,
                "name": null,
                "slug": "computer",
                "parent_id": 0,
                "depth_level": 1,
                "icon": null,
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 0,
                "created_at": "2021-09-28T17:09:14.000000Z",
                "updated_at": "2021-09-28T17:09:14.000000Z",
                "translateName": "Computer",
                "category_image": {
                    "category_id": 15
                },
                "parent_category": null,
                "sub_categories": []
            },
            {
                "id": 18,
                "name": null,
                "slug": "ssd",
                "parent_id": 0,
                "depth_level": 1,
                "icon": null,
                "google_product_category_id": null,
                "searchable": 1,
                "status": 1,
                "total_sale": 0,
                "avg_rating": 0,
                "commission_rate": 1,
                "created_at": "2021-09-29T11:30:13.000000Z",
                "updated_at": "2021-09-29T11:30:13.000000Z",
                "translateName": "SSD",
                "category_image": {
                    "category_id": 18
                },
                "parent_category": null,
                "sub_categories": []
            }
        ],
        "first_page_url": "http://ecommerce.test/api/category-list?page=1",
        "from": 1,
        "last_page": 2,
        "last_page_url": "http://ecommerce.test/api/category-list?page=2",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/category-list?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "http://ecommerce.test/api/category-list?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/category-list?page=2",
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": "http://ecommerce.test/api/category-list?page=2",
        "path": "http://ecommerce.test/api/category-list",
        "per_page": 10,
        "prev_page_url": null,
        "to": 10,
        "total": 16
    },
    "msg": "success"
}
 

Request   

GET api/category-list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/live-search',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/live-search"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/live-search'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

GET api/pagebuilder

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/pagebuilder',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/pagebuilder"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/pagebuilder'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/pagebuilder

GET api/shiprocket

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/shiprocket',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/shiprocket"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/shiprocket'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/shiprocket

GET api/sidebarmanager

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/sidebarmanager',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/sidebarmanager"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/sidebarmanager'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/sidebarmanager

GET api/sslcommerz

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/sslcommerz',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/sslcommerz"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/sslcommerz'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/sslcommerz

GET api/storagecdn

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/storagecdn',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/storagecdn"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/storagecdn'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/storagecdn

GET api/utilities

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/utilities',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/utilities"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/utilities'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/utilities

GET api/visitor

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/visitor',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/visitor"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/visitor'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/visitor

GET api/mercadopago

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/mercadopago',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/mercadopago"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/mercadopago'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/mercadopago

GET api/adminreport

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/adminreport',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/adminreport"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/adminreport'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/adminreport

GET api/affiliate

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/affiliate',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/affiliate"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/affiliate'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/affiliate

GET api/formbuilder

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/formbuilder',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/formbuilder"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/formbuilder'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/formbuilder

GET api/lead

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/lead',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/lead"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/lead'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/lead

GET api/googlemerchantcenter

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/googlemerchantcenter',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/googlemerchantcenter"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/googlemerchantcenter'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/googlemerchantcenter

GET api/intshipping

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/intshipping',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/intshipping"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/intshipping'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/intshipping

GET api/wholesale

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/wholesale',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/wholesale"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/wholesale'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/wholesale

GET api/multivendor

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/multivendor',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/multivendor"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/multivendor'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/multivendor

GET api/frontendmultilang

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/frontendmultilang',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/frontendmultilang"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/frontendmultilang'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Server Error"
}
 

Request   

GET api/frontendmultilang

General Setting

APIs for General Setting

Currency List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/currency-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/currency-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/currency-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "currencies": [
        {
            "id": 2,
            "name": "Dollars",
            "code": "USD",
            "status": 1,
            "convert_rate": 1,
            "symbol": "$",
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-09-16T11:12:27.000000Z"
        },
        {
            "id": 112,
            "name": "Taka",
            "code": "BDT",
            "status": 1,
            "convert_rate": 80,
            "symbol": "৳",
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-24T05:24:56.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/currency-list

Settings info

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/general-settings',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/general-settings"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/general-settings'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "settings": [
        {
            "site_title": "Amaz cart",
            "company_name": "Amaz cart",
            "country_name": "BD",
            "zip_code": "1200",
            "address": "Panthapath",
            "phone": "0187595662",
            "email": "amazcart@spondonit.com",
            "currency_symbol": "$",
            "logo": "uploads/settings/6127358234608.png",
            "favicon": "uploads/settings/6127304e2f2b6.png",
            "currency_code": "USD",
            "copyright_text": "Copyright © 2019 - 2020 All rights reserved | This application is made by <a href=\"https://codecanyon.net/user/codethemes\">Codethemes</a>",
            "language_code": "en"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/general-settings

Languages

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/languages',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/languages"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/languages'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "languages": [
        {
            "id": 3,
            "code": "ar",
            "name": "Arabic",
            "native": "العربية",
            "rtl": 1,
            "status": 1,
            "json_exist": 0,
            "created_at": null,
            "updated_at": null
        },
        {
            "id": 5,
            "code": "az",
            "name": "Azerbaijani",
            "native": "Azərbaycanca / آذربايجان",
            "rtl": 0,
            "status": 1,
            "json_exist": 0,
            "created_at": null,
            "updated_at": "2021-09-08T10:40:27.000000Z"
        },
        {
            "id": 9,
            "code": "bn",
            "name": "Bengali",
            "native": "বাংলা",
            "rtl": 0,
            "status": 1,
            "json_exist": 0,
            "created_at": null,
            "updated_at": "2021-09-09T11:21:10.000000Z"
        },
        {
            "id": 19,
            "code": "en",
            "name": "English",
            "native": "English",
            "rtl": 0,
            "status": 1,
            "json_exist": 0,
            "created_at": null,
            "updated_at": "2021-09-09T10:11:04.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/languages

POST api/general-setting/send-otp

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/general-setting/send-otp',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/general-setting/send-otp"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/general-setting/send-otp'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Request   

POST api/general-setting/send-otp

Giftcards

APIs for Giftcards

Giftcard List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/gift-card/list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/gift-card/list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/gift-card/list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "giftcards": {
      "current_page": 1,
      "data": [
          {
              "id": 1,
              "name": "gift card $100",
              "sku": "gift-card-100",
              "selling_price": 100,
              "thumbnail_image": "uploads/images/12-08-2021/6115214880e05.jpeg",
              "discount": 5,
              "discount_type": 0,
              "start_date": "2021-08-01",
              "end_date": "2021-11-30",
              "description": "<p>test product</p>",
              "status": 1,
              "avg_rating": 0,
              "created_by": 1,
              "updated_by": null,
              "shipping_id": 1,
              "created_at": "2021-08-12T13:25:28.000000Z",
              "updated_at": "2021-08-12T13:31:35.000000Z",
              "galary_images": [],
              "shipping_method": {
                   shipping info
               }
          }
      ],
      "first_page_url": "http://ecommerce.test/api/gift-card/list?page=1",
      "from": 1,
      "last_page": 1,
      "last_page_url": "http://ecommerce.test/api/gift-card/list?page=1",
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/gift-card/list?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": null,
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": null,
      "path": "http://ecommerce.test/api/gift-card/list",
      "per_page": 10,
      "prev_page_url": null,
      "to": 1,
      "total": 1
  },
  "message": "success"
}
 

Request   

GET api/gift-card/list

Single Giftcard

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/gift-card/excepturi',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/gift-card/excepturi"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/gift-card/excepturi'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "giftcard": {
        "id": 1,
        "name": "gift card $100",
        "sku": "gift-card-100",
        "selling_price": 100,
        "thumbnail_image": "uploads/images/12-08-2021/6115214880e05.jpeg",
        "discount": 5,
        "discount_type": 0,
        "start_date": "2021-08-01",
        "end_date": "2021-11-30",
        "description": "<p>test product</p>",
        "status": 1,
        "avg_rating": 0,
        "created_by": 1,
        "updated_by": null,
        "shipping_id": 1,
        "created_at": "2021-08-12T13:25:28.000000Z",
        "updated_at": "2021-08-12T13:31:35.000000Z",
        "ActiveReviews": {
            "current_page": 1,
            "data": [],
            "first_page_url": "http://ecommerce.test/api/gift-card/gift-card-100?page=1",
            "from": null,
            "last_page": 1,
            "last_page_url": "http://ecommerce.test/api/gift-card/gift-card-100?page=1",
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "http://ecommerce.test/api/gift-card/gift-card-100?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http://ecommerce.test/api/gift-card/gift-card-100",
            "per_page": 10,
            "prev_page_url": null,
            "to": null,
            "total": 0
        },
        "galary_images": [],
        "shipping_method": {
            "id": 1,
            "method_name": "Email Delivery (within 24 Hours)",
            "logo": null,
            "phone": "25656895655",
            "shipment_time": "12-24 hrs",
            "cost": 0,
            "is_active": 1,
            "request_by_user": null,
            "is_approved": 1,
            "created_at": null,
            "updated_at": "2021-08-08T04:05:13.000000Z"
        }
    },
    "seller": "Amaz cart",
    "message": "success"
}
 

Request   

GET api/gift-card/{slug}

URL Parameters

slug  string  

giftcard sku

Customers Purchased Giftcards

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/gift-card/my-purchased/list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/gift-card/my-purchased/list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/gift-card/my-purchased/list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "giftcards": {
      "current_page": 1,
      "data": [
          {
              "id": 1,
              "gift_card_id": 1,
              "qty": 1,
              "order_id": 3,
              "is_used": 1,
              "secret_code": "210814-124626-7863-13041",
              "mail_sent_date": "2021-08-14",
              "is_mail_sent": 1,
              "created_at": "2021-08-14T06:46:26.000000Z",
              "updated_at": "2021-08-14T06:48:26.000000Z",
              "order": {
                  "id": 3,
                  "customer_id": 4,
                  "order_payment_id": 3,
                  "order_type": null,
                  "order_number": "order-9595-210814121455",
                  "payment_type": 4,
                  "is_paid": 1,
                  "is_confirmed": 1,
                  "is_completed": 1,
                  "is_cancelled": 0,
                  "cancel_reason_id": null,
                  "customer_email": "customer@gmail.com",
                  "customer_phone": "2365659686569",
                  "customer_shipping_address": 1,
                  "customer_billing_address": 1,
                  "number_of_package": 1,
                  "grand_total": 95,
                  "sub_total": 100,
                  "discount_total": 5,
                  "shipping_total": 0,
                  "number_of_item": 1,
                  "order_status": 0,
                  "tax_amount": 0,
                  "created_at": "2021-08-14T06:14:55.000000Z",
                  "updated_at": "2021-08-14T06:46:21.000000Z"
              },
              "gift_card": {
                  "id": 1,
                  "name": "gift card $100",
                  "sku": "gift-card-100",
                  "selling_price": 100,
                  "thumbnail_image": "uploads/images/12-08-2021/6115214880e05.jpeg",
                  "discount": 5,
                  "discount_type": 0,
                  "start_date": "2021-08-01",
                  "end_date": "2021-11-30",
                  "description": "<p>test product</p>",
                  "status": 1,
                  "avg_rating": 0,
                  "created_by": 1,
                  "updated_by": null,
                  "shipping_id": 1,
                  "created_at": "2021-08-12T13:25:28.000000Z",
                  "updated_at": "2021-08-12T13:31:35.000000Z",
                  "galary_images": [],
                  "shipping_method": {
                          shipping info
                      }
              }
          }
      ],
      "first_page_url": "http://ecommerce.test/api/gift-card/my-purchased-list?page=1",
      "from": 1,
      "last_page": 1,
      "last_page_url": "http://ecommerce.test/api/gift-card/my-purchased-list?page=1",
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/gift-card/my-purchased-list?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": null,
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": null,
      "path": "http://ecommerce.test/api/gift-card/my-purchased-list",
      "per_page": 6,
      "prev_page_url": null,
      "to": 1,
      "total": 1
  },
  "message": "Success"

}
 

Request   

GET api/gift-card/my-purchased/list

Giftcard add to wallet

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/gift-card/redeem-to-wallet',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'secret_code' => 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/gift-card/redeem-to-wallet"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "secret_code": "est"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/gift-card/redeem-to-wallet'
payload = {
    "secret_code": "est"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "mesage": "Allready Used"
}
 

Request   

POST api/gift-card/redeem-to-wallet

Body Parameters

secret_code  string  

secret code

Location

APIs for location like country, state , city

Country

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/location/country',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/location/country"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/location/country'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "countries" :{
    {
"id": 1,
"code": "AF",
"name": "Afghanistan",
"phonecode": "93",
"flag": "\/flags\/flag-of-Afghanistan.jpg",
"status": 1,
"created_at": null,
"updated_at": null
      }
   }
}
 

Request   

GET api/location/country

State by Country

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/location/country/velit/states',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/location/country/velit/states"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/location/country/velit/states'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
"states": [
   {
       "id": 337,
       "name": "Bagar Hat",
       "country_id": 18,
       "status": 1,
       "created_at": null,
       "updated_at": null,
       "country": {
           "id": 18,
           "code": "BD",
           "name": "Bangladesh",
           "phonecode": "880",
           "flag": "/flags/flag-of-Bangladesh.jpg",
           "updated_at": null
           "status": 1,
           "created_at": null,
       }
   }
   ]
}
 

Request   

GET api/location/country/{id}/states

URL Parameters

id  string  

The ID of the country.

City by state

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/location/state/aliquid/cities',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/location/state/aliquid/cities"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/location/state/aliquid/cities'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "cities": [
        {
            "id": 7264,
            "name": "Bandarban",
            "state_id": 338,
            "status": 1,
            "created_at": null,
            "updated_at": null,
            "state": {
                "id": 338,
                "name": "Bandarban",
                "country_id": 18,
                "status": 1,
                "created_at": null,
                "updated_at": null
            }
        }
    ],
    "message": "success"
}
 

Request   

GET api/location/state/{id}/cities

URL Parameters

id  string  

The ID of the state.

Marketing

APIs for flash deal frontend

New User Zone

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "new_user_zone": {
        "id": 1,
        "title": "new user zone coupon",
        "background_color": "white",
        "text_color": "#444444",
        "slug": "new-user-zone-coupon-kmn0v",
        "banner_image": "uploads/images/02-06-2021/60b791aa834d8.png",
        "product_navigation_label": "product section",
        "category_navigation_label": "jhaskjdklasd",
        "coupon_navigation_label": "fghfgjhfgjhvhbnvbhjn",
        "product_slogan": "product",
        "category_slogan": "fdsgfshdfjgdjg",
        "coupon_slogan": "gfjhfghfghfg",
        "status": 1,
        "is_featured": 0,
        "created_by": 1,
        "updated_by": 1,
        "created_at": "2021-06-02T14:11:54.000000Z",
        "updated_at": "2021-06-02T14:12:21.000000Z",
        "AllProducts": {
            "current_page": 1,
            "data": [],
            "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone?page=1",
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "http://ecommerce.test/api/marketing/new-user-zone?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http://ecommerce.test/api/marketing/new-user-zone",
            "per_page": 10,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        },
        "categories": [],
        "coupon": {
            "id": 1,
            "new_user_zone_id": 1,
            "coupon_id": 1,
            "created_at": "2021-06-02T14:11:54.000000Z",
            "updated_at": "2021-06-10T05:17:37.000000Z",
            "coupon": {}
        },
        "coupon_categories": []
    },
    "allCategoryProducts": {
        "current_page": 1,
        "data": [],
        "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://ecommerce.test/api/marketing/new-user-zone",
        "per_page": 12,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    },
    "allCouponCategoryProducts": {
        "current_page": 1,
        "data": [],
        "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/marketing/new-user-zone?item=category&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://ecommerce.test/api/marketing/new-user-zone",
        "per_page": 12,
        "prev_page_url": null,
        "to": 2,
        "total": 2
    },
    "message": "success"
}
 

Request   

GET api/marketing/new-user-zone

pagination from product

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/aut/fetch-product-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/aut/fetch-product-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/aut/fetch-product-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "current_page": 1,
    "data": [],
    "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-product-data?item=product&page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-product-data?item=product&page=1",
    "links": [
        {
            "url": null,
            "label": "&laquo; Previous",
            "active": false
        },
        {
            "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-product-data?item=product&page=1",
            "label": "1",
            "active": true
        },
        {
            "url": null,
            "label": "Next &raquo;",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-product-data",
    "per_page": 12,
    "prev_page_url": null,
    "to": 2,
    "total": 2
}
 

Request   

GET api/marketing/new-user-zone/{slug}/fetch-product-data

URL Parameters

slug  string  

item  string  

example:item=product

page  integer  

example:page=2

Pagination from single category

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/nobis/fetch-category-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/nobis/fetch-category-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/nobis/fetch-category-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "current_page": 2,
    "data": [],
    "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "from": null,
    "last_page": 1,
    "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "links": [
        {
            "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
            "label": "&laquo; Previous",
            "active": false
        },
        {
            "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
            "label": "1",
            "active": false
        },
        {
            "url": null,
            "label": "Next &raquo;",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data",
    "per_page": 10,
    "prev_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "to": null,
    "total": 1
}
 

Request   

GET api/marketing/new-user-zone/{slug}/fetch-category-data

URL Parameters

slug  string  

item  string  

example:item=category

category  integer  

example:category=2

parent_data  integer  

example:parent_data=2

page  integer  

example:page=2

Pagination from single coupon category

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/fugit/fetch-coupon-category-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/fugit/fetch-coupon-category-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/fugit/fetch-coupon-category-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "current_page": 2,
    "data": [],
    "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "from": null,
    "last_page": 1,
    "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "links": [
        {
            "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
            "label": "&laquo; Previous",
            "active": false
        },
        {
            "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
            "label": "1",
            "active": false
        },
        {
            "url": null,
            "label": "Next &raquo;",
            "active": false
        }
    ],
    "next_page_url": null,
    "path": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data",
    "per_page": 10,
    "prev_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-category-data?page=1",
    "to": null,
    "total": 1
}
 

Request   

GET api/marketing/new-user-zone/{slug}/fetch-coupon-category-data

URL Parameters

slug  string  

item  string  

example:item=category

category  integer  

example:category=2

parent_data  integer  

example:parent_data=2

page  integer  

example:page=2

Pagination from all category

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/iure/fetch-all-category-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/iure/fetch-all-category-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/iure/fetch-all-category-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "allCategoryProducts": {
        "current_page": 1,
        "data": [],
        "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data",
        "per_page": 12,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}
 

Request   

GET api/marketing/new-user-zone/{slug}/fetch-all-category-data

URL Parameters

slug  string  

item  string  

example:item=category

page  integer  

example:page=1

Pagination from all coupon category

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/accusamus/fetch-all-coupon-category-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/accusamus/fetch-all-coupon-category-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/new-user-zone/accusamus/fetch-all-coupon-category-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "allCouponCategoryProducts": {
        "current_page": 1,
        "data": [],
        "first_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data?item=category&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://ecommerce.test/api/marketing/new-user-zone/test-new-user-zone-zrh9a/fetch-all-category-data",
        "per_page": 12,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}
 

Request   

GET api/marketing/new-user-zone/{slug}/fetch-all-coupon-category-data

URL Parameters

slug  string  

item  string  

example:item=category

page  integer  

example:page=1

Flash Deal

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/marketing/flash-deal',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/marketing/flash-deal"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/marketing/flash-deal'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "flash_deal": {
        "id": 1,
        "title": "test deal",
        "background_color": "white",
        "text_color": "#444444",
        "start_date": "2021-05-31",
        "end_date": "2021-06-30",
        "slug": "test-deal-ek75m",
        "banner_image": "uploads/images/01-06-2021/60b62e72a3122.png",
        "status": 1,
        "is_featured": 0,
        "created_by": 1,
        "updated_by": 1,
        "created_at": "2021-06-01T12:56:18.000000Z",
        "updated_at": "2021-06-02T10:35:10.000000Z",
        "AllProducts": {
            "current_page": 1,
            "data": [
                {
                    "id": 1,
                    "flash_deal_id": 1,
                    "seller_product_id": 2,
                    "discount": 20,
                    "discount_type": 0,
                    "status": 1,
                    "created_at": "2021-06-01T12:56:18.000000Z",
                    "updated_at": "2021-06-02T10:36:20.000000Z",
                    "product": {
                        "id": 2,
                        "user_id": 4,
                        "product_id": 4,
                        "tax": 5,
                        "tax_type": "0",
                        "discount": 5,
                        "discount_type": "0",
                        "discount_start_date": "05/25/2021",
                        "discount_end_date": "06/30/2021",
                        "product_name": "Xiaomi MI 5X",
                        "slug": "xiaomi-mi-5x-4",
                        "thum_img": null,
                        "status": 1,
                        "stock_manage": 0,
                        "is_approved": 0,
                        "min_sell_price": 200,
                        "max_sell_price": 220,
                        "total_sale": 3,
                        "avg_rating": 4.03,
                        "recent_view": "2021-06-08 10:06:56",
                        "created_at": "2021-05-29T10:25:59.000000Z",
                        "updated_at": "2021-06-08T04:06:56.000000Z",
                        "variantDetails": [
                            {
                                "value": [
                                    "4GB-32GB",
                                    "4GB-64GB"
                                ],
                                "code": [
                                    "4GB-32GB",
                                    "4GB-64GB"
                                ],
                                "attr_val_id": [
                                    13,
                                    14
                                ],
                                "name": "Storage",
                                "attr_id": 3
                            },
                            {
                                "value": [
                                    "Black",
                                    "Red",
                                    "Gold"
                                ],
                                "code": [
                                    "black",
                                    "#f40c0c",
                                    "#fff2cc"
                                ],
                                "attr_val_id": [
                                    5,
                                    6,
                                    12
                                ],
                                "name": "Color",
                                "attr_id": 1
                            }
                        ],
                        "MaxSellingPrice": 220,
                        "hasDeal": {
                            "id": 1,
                            "flash_deal_id": 1,
                            "seller_product_id": 2,
                            "discount": 20,
                            "discount_type": 0,
                            "status": 1,
                            "created_at": "2021-06-01T12:56:18.000000Z",
                            "updated_at": "2021-06-02T10:36:20.000000Z"
                        },
                        "rating": 0,
                        "product": {
                            "id": 4,
                            "product_name": "Xiaomi MI 5X",
                            "product_type": 2,
                            "unit_type_id": 1,
                            "brand_id": 1,
                            "category_id": 6,
                            "thumbnail_image_source": "uploads/images/29-05-2021/60b1eed81a7fb.jpeg",
                            "barcode_type": "C39",
                            "model_number": "mi 5x",
                            "shipping_type": 0,
                            "shipping_cost": 0,
                            "discount_type": "1",
                            "discount": 0,
                            "tax_type": "0",
                            "tax": 5,
                            "pdf": null,
                            "video_provider": "youtube",
                            "video_link": null,
                            "description": "<p>test product</p>",
                            "specification": "<p>test product</p>",
                            "minimum_order_qty": 1,
                            "max_order_qty": 5,
                            "meta_title": null,
                            "meta_description": null,
                            "meta_image": null,
                            "is_physical": 1,
                            "is_approved": 1,
                            "display_in_details": 1,
                            "requested_by": 1,
                            "created_by": 1,
                            "slug": "xiaomi-mi-5x",
                            "updated_by": null,
                            "created_at": "2021-05-29T07:35:52.000000Z",
                            "updated_at": "2021-05-29T07:35:52.000000Z"
                        },
                        "skus": [
                            {
                                "id": 1,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "5",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 200,
                                "status": 1,
                                "created_at": "2021-05-29T10:25:59.000000Z",
                                "updated_at": "2021-05-29T10:25:59.000000Z",
                                "product_variations": [
                                    {
                                        "id": 3,
                                        "product_id": 4,
                                        "product_sku_id": 5,
                                        "attribute_id": 3,
                                        "attribute_value_id": 13,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute_value": {
                                            "id": 13,
                                            "value": "4GB-32GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        },
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        }
                                    },
                                    {
                                        "id": 4,
                                        "product_id": 4,
                                        "product_sku_id": 5,
                                        "attribute_id": 1,
                                        "attribute_value_id": 5,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 5,
                                            "value": "black",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 1,
                                                "attribute_value_id": 5,
                                                "name": "Black",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 2,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "6",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 200,
                                "status": 1,
                                "created_at": "2021-05-29T10:25:59.000000Z",
                                "updated_at": "2021-05-29T10:25:59.000000Z",
                                "product_variations": [
                                    {
                                        "id": 5,
                                        "product_id": 4,
                                        "product_sku_id": 6,
                                        "attribute_id": 3,
                                        "attribute_value_id": 13,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 13,
                                            "value": "4GB-32GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        }
                                    },
                                    {
                                        "id": 6,
                                        "product_id": 4,
                                        "product_sku_id": 6,
                                        "attribute_id": 1,
                                        "attribute_value_id": 6,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 6,
                                            "value": "#f40c0c",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 2,
                                                "attribute_value_id": 6,
                                                "name": "Red",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 3,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "7",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 200,
                                "status": 1,
                                "created_at": "2021-05-29T10:25:59.000000Z",
                                "updated_at": "2021-05-29T10:25:59.000000Z",
                                "product_variations": [
                                    {
                                        "id": 7,
                                        "product_id": 4,
                                        "product_sku_id": 7,
                                        "attribute_id": 3,
                                        "attribute_value_id": 13,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 13,
                                            "value": "4GB-32GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        }
                                    },
                                    {
                                        "id": 8,
                                        "product_id": 4,
                                        "product_sku_id": 7,
                                        "attribute_id": 1,
                                        "attribute_value_id": 12,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 12,
                                            "value": "#fff2cc",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 8,
                                                "attribute_value_id": 12,
                                                "name": "Gold",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 4,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "8",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 220,
                                "status": 1,
                                "created_at": "2021-05-29T10:25:59.000000Z",
                                "updated_at": "2021-05-29T10:25:59.000000Z",
                                "product_variations": [
                                    {
                                        "id": 9,
                                        "product_id": 4,
                                        "product_sku_id": 8,
                                        "attribute_id": 3,
                                        "attribute_value_id": 14,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 14,
                                            "value": "4GB-64GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        }
                                    },
                                    {
                                        "id": 10,
                                        "product_id": 4,
                                        "product_sku_id": 8,
                                        "attribute_id": 1,
                                        "attribute_value_id": 5,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 5,
                                            "value": "black",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 1,
                                                "attribute_value_id": 5,
                                                "name": "Black",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 5,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "9",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 220,
                                "status": 1,
                                "created_at": "2021-05-29T10:25:59.000000Z",
                                "updated_at": "2021-05-29T10:25:59.000000Z",
                                "product_variations": [
                                    {
                                        "id": 11,
                                        "product_id": 4,
                                        "product_sku_id": 9,
                                        "attribute_id": 3,
                                        "attribute_value_id": 14,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 14,
                                            "value": "4GB-64GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        }
                                    },
                                    {
                                        "id": 12,
                                        "product_id": 4,
                                        "product_sku_id": 9,
                                        "attribute_id": 1,
                                        "attribute_value_id": 6,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 6,
                                            "value": "#f40c0c",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 2,
                                                "attribute_value_id": 6,
                                                "name": "Red",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            },
                            {
                                "id": 8,
                                "user_id": 4,
                                "product_id": 2,
                                "product_sku_id": "10",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 220,
                                "status": 1,
                                "created_at": "2021-05-30T04:41:01.000000Z",
                                "updated_at": "2021-05-30T04:41:01.000000Z",
                                "product_variations": [
                                    {
                                        "id": 13,
                                        "product_id": 4,
                                        "product_sku_id": 10,
                                        "attribute_id": 3,
                                        "attribute_value_id": 14,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 3,
                                            "name": "Storage",
                                            "display_type": "radio_button",
                                            "description": null,
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": "2021-05-29T07:31:25.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 14,
                                            "value": "4GB-64GB",
                                            "attribute_id": 3,
                                            "created_at": "2021-05-29T07:31:25.000000Z",
                                            "updated_at": null,
                                            "color": null
                                        }
                                    },
                                    {
                                        "id": 14,
                                        "product_id": 4,
                                        "product_sku_id": 10,
                                        "attribute_id": 1,
                                        "attribute_value_id": 12,
                                        "created_by": null,
                                        "updated_by": null,
                                        "created_at": "2021-05-29T07:35:52.000000Z",
                                        "updated_at": "2021-05-29T07:35:52.000000Z",
                                        "attribute": {
                                            "id": 1,
                                            "name": "Color",
                                            "display_type": "radio_button",
                                            "description": "null",
                                            "status": 1,
                                            "created_by": null,
                                            "updated_by": null,
                                            "created_at": "2018-11-04T20:12:26.000000Z",
                                            "updated_at": "2018-11-04T20:12:26.000000Z"
                                        },
                                        "attribute_value": {
                                            "id": 12,
                                            "value": "#fff2cc",
                                            "attribute_id": 1,
                                            "created_at": "2021-05-29T07:30:19.000000Z",
                                            "updated_at": "2021-05-29T07:30:19.000000Z",
                                            "color": {
                                                "id": 8,
                                                "attribute_value_id": 12,
                                                "name": "Gold",
                                                "created_at": "2021-05-29T07:30:19.000000Z",
                                                "updated_at": "2021-05-29T07:30:19.000000Z"
                                            }
                                        }
                                    }
                                ]
                            }
                        ],
                        "reviews": [
                            {
                                "id": 1,
                                "customer_id": 5,
                                "seller_id": 4,
                                "product_id": 2,
                                "order_id": 5,
                                "package_id": 8,
                                "review": "test product review",
                                "rating": 4,
                                "is_anonymous": 1,
                                "status": 0,
                                "created_at": "2021-06-08T12:31:32.000000Z",
                                "updated_at": "2021-06-08T12:31:32.000000Z"
                            }
                        ]
                    }
                },
                {
                    "id": 2,
                    "flash_deal_id": 1,
                    "seller_product_id": 3,
                    "discount": 50,
                    "discount_type": 1,
                    "status": 1,
                    "created_at": "2021-06-01T12:56:18.000000Z",
                    "updated_at": "2021-06-01T13:08:58.000000Z",
                    "product": {
                        "id": 3,
                        "user_id": 4,
                        "product_id": 3,
                        "tax": 15,
                        "tax_type": "0",
                        "discount": 50,
                        "discount_type": "1",
                        "discount_start_date": "05/01/2021",
                        "discount_end_date": "06/30/2021",
                        "product_name": "KTM RC 390",
                        "slug": "ktm-rc-390-4",
                        "thum_img": null,
                        "status": 1,
                        "stock_manage": 0,
                        "is_approved": 0,
                        "min_sell_price": 6500,
                        "max_sell_price": 6500,
                        "total_sale": 1,
                        "avg_rating": 0,
                        "recent_view": "2021-05-29 16:28:14",
                        "created_at": "2021-05-29T10:28:14.000000Z",
                        "updated_at": "2021-05-30T04:29:14.000000Z",
                        "variantDetails": [],
                        "MaxSellingPrice": 6600,
                        "hasDeal": {
                            "id": 2,
                            "flash_deal_id": 1,
                            "seller_product_id": 3,
                            "discount": 50,
                            "discount_type": 1,
                            "status": 1,
                            "created_at": "2021-06-01T12:56:18.000000Z",
                            "updated_at": "2021-06-01T13:08:58.000000Z"
                        },
                        "rating": 0,
                        "product": {
                            "id": 3,
                            "product_name": "KTM RC 390",
                            "product_type": 1,
                            "unit_type_id": 1,
                            "brand_id": 2,
                            "category_id": 5,
                            "thumbnail_image_source": "uploads/images/29-05-2021/60b1e99781fbb.png",
                            "barcode_type": "C39",
                            "model_number": "ktm-rc-390",
                            "shipping_type": 0,
                            "shipping_cost": 0,
                            "discount_type": "1",
                            "discount": 0,
                            "tax_type": "0",
                            "tax": 15,
                            "pdf": null,
                            "video_provider": "youtube",
                            "video_link": null,
                            "description": "<p>test product</p>",
                            "specification": "<p>test product</p>",
                            "minimum_order_qty": 1,
                            "max_order_qty": 5,
                            "meta_title": null,
                            "meta_description": null,
                            "meta_image": null,
                            "is_physical": 1,
                            "is_approved": 1,
                            "display_in_details": 1,
                            "requested_by": 1,
                            "created_by": 1,
                            "slug": "ktm-rc-390",
                            "updated_by": null,
                            "created_at": "2021-05-29T07:13:28.000000Z",
                            "updated_at": "2021-05-29T07:13:28.000000Z"
                        },
                        "skus": [
                            {
                                "id": 7,
                                "user_id": 4,
                                "product_id": 3,
                                "product_sku_id": "4",
                                "product_stock": 0,
                                "purchase_price": 0,
                                "selling_price": 6600,
                                "status": 1,
                                "created_at": "2021-05-29T10:28:14.000000Z",
                                "updated_at": "2021-05-30T04:32:25.000000Z",
                                "product_variations": []
                            }
                        ],
                        "reviews": []
                    }
                }
            ],
            "first_page_url": "http://ecommerce.test/api/marketing/flash-deal?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://ecommerce.test/api/marketing/flash-deal?page=1",
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "http://ecommerce.test/api/marketing/flash-deal?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http://ecommerce.test/api/marketing/flash-deal",
            "per_page": 10,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        }
    }
}
 

Request   

GET api/marketing/flash-deal

Notifications

APIs for Notifications

Notification Lists

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/user-notifications',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/user-notifications"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/user-notifications'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "notifications": {
        "current_page": 1,
        "data": [
            {
                "id": 14,
                "order_id": 11,
                "customer_id": 4,
                "seller_id": null,
                "title": "Your order (order-1559-210824011647) status has changed",
                "description": null,
                "read_status": 0,
                "super_admin_read_status": 1,
                "created_at": "2021-08-24T01:48:47.000000Z",
                "updated_at": "2021-09-08T01:24:40.000000Z",
                "order": {
                    "id": 11,
                    "customer_id": 4,
                    "order_payment_id": null,
                    "order_type": null,
                    "order_number": "order-1559-210824011647",
                    "payment_type": 2,
                    "is_paid": 1,
                    "is_confirmed": 1,
                    "is_completed": 1,
                    "is_cancelled": 0,
                    "cancel_reason_id": null,
                    "customer_email": "customer@gmail.com",
                    "customer_phone": "2365659686569",
                    "customer_shipping_address": 1,
                    "customer_billing_address": 1,
                    "number_of_package": 1,
                    "grand_total": 179.5,
                    "sub_total": 130,
                    "discount_total": 0,
                    "shipping_total": 30,
                    "number_of_item": 1,
                    "order_status": 5,
                    "tax_amount": 19.5,
                    "created_at": "2021-08-24T01:16:47.000000Z",
                    "updated_at": "2021-08-25T03:38:24.000000Z"
                }
            },
            {
                "id": 16,
                "order_id": 11,
                "customer_id": 4,
                "seller_id": null,
                "title": "Your order (order-1559-210824011647) status has changed",
                "description": null,
                "read_status": 0,
                "super_admin_read_status": 1,
                "created_at": "2021-08-24T01:49:45.000000Z",
                "updated_at": "2021-09-08T01:24:40.000000Z",
                "order": {
                    "id": 11,
                    "customer_id": 4,
                    "order_payment_id": null,
                    "order_type": null,
                    "order_number": "order-1559-210824011647",
                    "payment_type": 2,
                    "is_paid": 1,
                    "is_confirmed": 1,
                    "is_completed": 1,
                    "is_cancelled": 0,
                    "cancel_reason_id": null,
                    "customer_email": "customer@gmail.com",
                    "customer_phone": "2365659686569",
                    "customer_shipping_address": 1,
                    "customer_billing_address": 1,
                    "number_of_package": 1,
                    "grand_total": 179.5,
                    "sub_total": 130,
                    "discount_total": 0,
                    "shipping_total": 30,
                    "number_of_item": 1,
                    "order_status": 5,
                    "tax_amount": 19.5,
                    "created_at": "2021-08-24T01:16:47.000000Z",
                    "updated_at": "2021-08-25T03:38:24.000000Z"
                }
            }
        ],
        "first_page_url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=1",
        "from": 1,
        "last_page": 2,
        "last_page_url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=2",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=2",
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": "https://spn21.spondan.com/amazcart2/api/user-notifications?page=2",
        "path": "https://spn21.spondan.com/amazcart2/api/user-notifications",
        "per_page": 10,
        "prev_page_url": null,
        "to": 10,
        "total": 13
    }
}
 

Request   

GET api/user-notifications

Mark As read

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/user-notifications/read-all',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/user-notifications/read-all"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/user-notifications/read-all'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):


{
    "msg": "success"
}
 

Request   

POST api/user-notifications/read-all

Notification setting

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/user-notifications-setting',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/user-notifications-setting"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/user-notifications-setting'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "notifications": [
        {
            "id": 40,
            "user_id": 4,
            "notification_setting_id": 2,
            "type": "email,system",
            "created_at": "2021-09-12T04:47:19.000000Z",
            "updated_at": "2021-09-30T07:01:43.000000Z",
            "notification_setting": {
                "id": 2,
                "event": "Offline recharge",
                "delivery_process_id": null,
                "type": "email,system,",
                "message": "Offline recharge successful",
                "user_access_status": 1,
                "seller_access_status": 1,
                "admin_access_status": 1,
                "staff_access_status": 1,
                "created_at": "2021-09-12T04:45:20.000000Z",
                "updated_at": "2021-09-30T06:27:18.000000Z"
            }
        },
        {
            "id": 41,
            "user_id": 4,
            "notification_setting_id": 3,
            "type": "system",
            "created_at": "2021-09-12T04:47:19.000000Z",
            "updated_at": "2021-09-12T04:47:19.000000Z",
            "notification_setting": {
                "id": 3,
                "event": "Withdraw request declined",
                "delivery_process_id": null,
                "type": "system",
                "message": "Your withdraw request declined",
                "user_access_status": 1,
                "seller_access_status": 1,
                "admin_access_status": 1,
                "staff_access_status": 1,
                "created_at": "2021-09-12T04:45:20.000000Z",
                "updated_at": "2021-09-12T04:45:20.000000Z"
            }
        }
    ],
    "msg": "success"
}
 

Request   

GET api/user-notifications-setting

Setting Update

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/user-notifications-setting/update',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 19,
            'type' => 'at',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/user-notifications-setting/update"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 19,
    "type": "at"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/user-notifications-setting/update'
payload = {
    "id": 19,
    "type": "at"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "msg": "updated successfully"
}
 

Request   

POST api/user-notifications-setting/update

Body Parameters

id  integer  

Notification id

type  string  

example: system,email,mobile,sms

Order Manage

APIs for customer Order

All Order list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "orders": [
        {
            "id": 5,
            "customer_id": 5,
            "order_payment_id": null,
            "order_type": null,
            "order_number": "order-6726-210607071843",
            "payment_type": 1,
            "is_paid": 1,
            "is_confirmed": 1,
            "is_completed": 1,
            "is_cancelled": 0,
            "customer_email": "customer1@gmail.com",
            "customer_phone": "016859865968",
            "customer_shipping_address": 1,
            "customer_billing_address": 3,
            "number_of_package": 1,
            "grand_total": 397.2,
            "sub_total": 440,
            "discount_total": 88,
            "shipping_total": 10,
            "number_of_item": 2,
            "order_status": 5,
            "tax_amount": 17.6,
            "created_at": "2021-06-07T13:18:43.000000Z",
            "updated_at": "2021-06-08T08:51:16.000000Z",
            "customer": {},
            "packages": [
                {
                    "id": 8,
                    "order_id": 5,
                    "seller_id": 4,
                    "package_code": "TRK - 13620585",
                    "number_of_product": 1,
                    "shipping_cost": 10,
                    "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
                    "shipping_method": 3,
                    "is_cancelled": 0,
                    "is_reviewed": 1,
                    "delivery_status": 5,
                    "last_updated_by": 4,
                    "tax_amount": 17.6,
                    "created_at": "2021-06-07T13:18:43.000000Z",
                    "updated_at": "2021-06-08T08:51:16.000000Z",
                    "deliveryStateName": "Pending",
                    "products": []
                }
            ]
        }
    ],
    "message": "success"
}
 

Request   

GET api/order-list

Pending Order list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-pending-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-pending-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-pending-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "orders": [
        {
            "id": 5,
            "customer_id": 5,
            "order_payment_id": null,
            "order_type": null,
            "order_number": "order-6726-210607071843",
            "payment_type": 1,
            "is_paid": 1,
            "is_confirmed": 0,
            "is_completed": 0,
            "is_cancelled": 0,
            "customer_email": "customer1@gmail.com",
            "customer_phone": "016859865968",
            "customer_shipping_address": 1,
            "customer_billing_address": 3,
            "number_of_package": 1,
            "grand_total": 397.2,
            "sub_total": 440,
            "discount_total": 88,
            "shipping_total": 10,
            "number_of_item": 2,
            "order_status": 5,
            "tax_amount": 17.6,
            "created_at": "2021-06-07T13:18:43.000000Z",
            "updated_at": "2021-06-08T08:51:16.000000Z",
            "customer": {},
            "packages": [
                {
                    "id": 8,
                    "order_id": 5,
                    "seller_id": 4,
                    "package_code": "TRK - 13620585",
                    "number_of_product": 1,
                    "shipping_cost": 10,
                    "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
                    "shipping_method": 3,
                    "is_cancelled": 0,
                    "is_reviewed": 1,
                    "delivery_status": 5,
                    "last_updated_by": 4,
                    "tax_amount": 17.6,
                    "created_at": "2021-06-07T13:18:43.000000Z",
                    "updated_at": "2021-06-08T08:51:16.000000Z",
                    "deliveryStateName": "Pending",
                    "products": []
                }
            ]
        }
    ],
    "message": "success"
}
 

Request   

GET api/order-pending-list

Cancel Order list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-cancel-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-cancel-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-cancel-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "orders": [
        {
            "id": 5,
            "customer_id": 5,
            "order_payment_id": null,
            "order_type": null,
            "order_number": "order-6726-210607071843",
            "payment_type": 1,
            "is_paid": 0,
            "is_confirmed": 0,
            "is_completed": 0,
            "is_cancelled": 1,
            "customer_email": "customer1@gmail.com",
            "customer_phone": "016859865968",
            "customer_shipping_address": 1,
            "customer_billing_address": 3,
            "number_of_package": 1,
            "grand_total": 397.2,
            "sub_total": 440,
            "discount_total": 88,
            "shipping_total": 10,
            "number_of_item": 2,
            "order_status": 5,
            "tax_amount": 17.6,
            "created_at": "2021-06-07T13:18:43.000000Z",
            "updated_at": "2021-06-08T08:51:16.000000Z",
            "customer": {},
            "packages": [
                {
                    "id": 8,
                    "order_id": 5,
                    "seller_id": 4,
                    "package_code": "TRK - 13620585",
                    "number_of_product": 1,
                    "shipping_cost": 10,
                    "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
                    "shipping_method": 3,
                    "is_cancelled": 0,
                    "is_reviewed": 1,
                    "delivery_status": 5,
                    "last_updated_by": 4,
                    "tax_amount": 17.6,
                    "created_at": "2021-06-07T13:18:43.000000Z",
                    "updated_at": "2021-06-08T08:51:16.000000Z",
                    "deliveryStateName": "Pending",
                    "products": []
                }
            ]
        }
    ],
    "message": "success"
}
 

Request   

GET api/order-cancel-list

Order Store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-store'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):


{
     'message' : 'order created successfully'
}
 

Request   

POST api/order-store

Single Order

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order/18',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order/18"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order/18'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "order": {
        "id": 5,
        "customer_id": 5,
        "order_payment_id": null,
        "order_type": null,
        "order_number": "order-6726-210607071843",
        "payment_type": 1,
        "is_paid": 0,
        "is_confirmed": 0,
        "is_completed": 0,
        "is_cancelled": 1,
        "customer_email": "customer1@gmail.com",
        "customer_phone": "016859865968",
        "customer_shipping_address": 1,
        "customer_billing_address": 3,
        "number_of_package": 1,
        "grand_total": 397.2,
        "sub_total": 440,
        "discount_total": 88,
        "shipping_total": 10,
        "number_of_item": 2,
        "order_status": 5,
        "tax_amount": 17.6,
        "created_at": "2021-06-07T13:18:43.000000Z",
        "updated_at": "2021-06-08T08:51:16.000000Z",
        "customer": {},
        "packages": [
            {
                "id": 8,
                "order_id": 5,
                "seller_id": 4,
                "package_code": "TRK - 13620585",
                "number_of_product": 1,
                "shipping_cost": 10,
                "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
                "shipping_method": 3,
                "is_cancelled": 0,
                "is_reviewed": 1,
                "delivery_status": 5,
                "last_updated_by": 4,
                "tax_amount": 17.6,
                "created_at": "2021-06-07T13:18:43.000000Z",
                "updated_at": "2021-06-08T08:51:16.000000Z",
                "deliveryStateName": "Pending",
                "products": []
            }
        ]
    },
    "message": "success"
}
 

Request   

GET api/order/{order_number}

URL Parameters

order_number  integer  

Payment info store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-payment-info-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'amount' => 37.0,
            'transection_id' => 'non',
            'payment_method' => 7,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-payment-info-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "amount": 37,
    "transection_id": "non",
    "payment_method": 7
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-payment-info-store'
payload = {
    "amount": 37,
    "transection_id": "non",
    "payment_method": 7
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
    "payment_info": {
        "user_id": 8,
        "amount": "500",
        "payment_method": "4",
        "txn_id": "siu38475wefksdfiduir",
        "updated_at": "2021-07-06T10:20:52.000000Z",
        "created_at": "2021-07-06T10:20:52.000000Z",
        "id": 2
    },
    "message": "payment successfull"
}
 

Request   

POST api/order-payment-info-store

Body Parameters

amount  number  

total amount example : 500

transection_id  string  

payment transection id example: hdufyu4785793489834

payment_method  integer  

payment method id example : 4

Order To Ship

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-to-ship',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-to-ship"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-to-ship'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
   "packages": [
      {
          "id": 8,
          "order_id": 5,
          "seller_id": 4,
          "package_code": "TRK - 13620585",
          "number_of_product": 1,
          "shipping_cost": 10,
          "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
          "shipping_method": 3,
          "is_cancelled": 0,
          "is_reviewed": 0,
          "delivery_status": 3,
          "last_updated_by": 4,
          "tax_amount": 17.6,
          "created_at": "2021-06-07T13:18:43.000000Z",
          "updated_at": "2021-06-08T08:51:16.000000Z",
          "deliveryStateName": "ship",
          "order": {
              "id": 5,
              "customer_id": 5,
              "order_payment_id": null,
              "order_type": null,
              "order_number": "order-6726-210607071843",
              "payment_type": 1,
              "is_paid": 1,
              "is_confirmed": 1,
              "is_completed": 0,
              "is_cancelled": 0,
              "customer_email": "customer1@gmail.com",
              "customer_phone": "016859865968",
              "customer_shipping_address": 1,
              "customer_billing_address": 3,
              "number_of_package": 1,
              "grand_total": 397.2,
              "sub_total": 440,
              "discount_total": 88,
              "shipping_total": 10,
              "number_of_item": 2,
              "order_status": 5,
              "tax_amount": 17.6,
              "created_at": "2021-06-07T13:18:43.000000Z",
              "updated_at": "2021-06-08T08:51:16.000000Z"
          }
      }
  ],
  "message": "success
}
 

Request   

GET api/order-to-ship

Order To Receive

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-to-receive',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-to-receive"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-to-receive'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
   "packages": [
      {
          "id": 8,
          "order_id": 5,
          "seller_id": 4,
          "package_code": "TRK - 13620585",
          "number_of_product": 1,
          "shipping_cost": 10,
          "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
          "shipping_method": 3,
          "is_cancelled": 0,
          "is_reviewed": 0,
          "delivery_status": 4,
          "last_updated_by": 4,
          "tax_amount": 17.6,
          "created_at": "2021-06-07T13:18:43.000000Z",
          "updated_at": "2021-06-08T08:51:16.000000Z",
          "deliveryStateName": "receive",
          "order": {
              "id": 5,
              "customer_id": 5,
              "order_payment_id": null,
              "order_type": null,
              "order_number": "order-6726-210607071843",
              "payment_type": 1,
              "is_paid": 1,
              "is_confirmed": 1,
              "is_completed": 0,
              "is_cancelled": 0,
              "customer_email": "customer1@gmail.com",
              "customer_phone": "016859865968",
              "customer_shipping_address": 1,
              "customer_billing_address": 3,
              "number_of_package": 1,
              "grand_total": 397.2,
              "sub_total": 440,
              "discount_total": 88,
              "shipping_total": 10,
              "number_of_item": 2,
              "order_status": 5,
              "tax_amount": 17.6,
              "created_at": "2021-06-07T13:18:43.000000Z",
              "updated_at": "2021-06-08T08:51:16.000000Z"
          }
      }
  ],
  "message": "success
}
 

Request   

GET api/order-to-receive

Refund Order List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-refund-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-refund-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-refund-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "refundOrders": [
        {
            "id": 2,
            "customer_id": 5,
            "order_id": 5,
            "refund_method": "wallet",
            "shipping_method": "courier",
            "shipping_method_id": 3,
            "pick_up_address_id": 1,
            "drop_off_address": null,
            "additional_info": "test for refund",
            "total_return_amount": 352,
            "refund_state": 0,
            "is_confirmed": 0,
            "is_refunded": 0,
            "is_completed": 0,
            "created_at": "2021-06-09T05:34:20.000000Z",
            "updated_at": "2021-06-09T05:34:20.000000Z",
            "CheckConfirmed": "Pending",
            "order": {
                "id": 5,
                "customer_id": 5,
                "order_payment_id": null,
                "order_type": null,
                "order_number": "order-6726-210607071843",
                "payment_type": 1,
                "is_paid": 1,
                "is_confirmed": 1,
                "is_completed": 1,
                "is_cancelled": 0,
                "customer_email": "customer1@gmail.com",
                "customer_phone": "016859865968",
                "customer_shipping_address": 1,
                "customer_billing_address": 3,
                "number_of_package": 1,
                "grand_total": 397.2,
                "sub_total": 440,
                "discount_total": 88,
                "shipping_total": 10,
                "number_of_item": 2,
                "order_status": 5,
                "tax_amount": 17.6,
                "created_at": "2021-06-07T13:18:43.000000Z",
                "updated_at": "2021-06-08T08:51:16.000000Z"
            },
            "shipping_gateway": {
                "id": 3,
                "method_name": "Free Shipping",
                "logo": null,
                "phone": "0356865656546",
                "shipment_time": "8-12 days",
                "cost": 0,
                "is_active": 1,
                "created_at": "2021-05-29T07:34:51.000000Z",
                "updated_at": "2021-05-29T07:34:51.000000Z"
            },
            "pick_up_address_customer": {
                "id": 1,
                "customer_id": 5,
                "name": "customer 1",
                "email": "customer1@gmail.com",
                "phone": "016859865968",
                "address": "dhaka, bangladesh",
                "city": "7291",
                "state": "348",
                "country": "18",
                "postal_code": "6568656",
                "is_shipping_default": 1,
                "is_billing_default": 0,
                "created_at": "2021-05-29T12:06:24.000000Z",
                "updated_at": "2021-06-06T11:40:15.000000Z"
            },
            "refund_details": [
                {
                    "id": 3,
                    "refund_request_id": 2,
                    "order_package_id": 8,
                    "seller_id": 4,
                    "processing_state": 0,
                    "created_at": "2021-06-09T05:34:20.000000Z",
                    "updated_at": "2021-06-09T05:34:20.000000Z",
                    "ProcessState": "Pending",
                    "order_package": {
                        "id": 8,
                        "order_id": 5,
                        "seller_id": 4,
                        "package_code": "TRK - 13620585",
                        "number_of_product": 1,
                        "shipping_cost": 10,
                        "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
                        "shipping_method": 3,
                        "is_cancelled": 0,
                        "is_reviewed": 1,
                        "delivery_status": 5,
                        "last_updated_by": 4,
                        "tax_amount": 17.6,
                        "created_at": "2021-06-07T13:18:43.000000Z",
                        "updated_at": "2021-06-08T08:51:16.000000Z",
                        "deliveryStateName": "Pending"
                    },
                    "seller": {
                        "id": 4,
                        "first_name": "Amazcart Ltd",
                        "last_name": null,
                        "username": "0156356563235",
                        "photo": null,
                        "role_id": 5,
                        "mobile_verified_at": null,
                        "email": "amazcart@gmail.com",
                        "is_verified": 1,
                        "verify_code": "74d68bde279426442de115eb532f9f51a21eb448",
                        "email_verified_at": null,
                        "notification_preference": "mail",
                        "is_active": 1,
                        "avatar": null,
                        "phone": null,
                        "date_of_birth": null,
                        "description": null,
                        "secret_login": 0,
                        "secret_logged_in_by_user": null,
                        "created_at": "2021-05-29T07:15:56.000000Z",
                        "updated_at": "2021-05-29T07:15:56.000000Z"
                    },
                    "process_refund": null,
                    "refund_products": []
                }
            ]
        }
    ],
    "message": "success"
}
 

Request   

GET api/order-refund-list

Order Track

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-track',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'order_number' => 'eos',
            'phone' => 'voluptas',
            'secret_id' => 'temporibus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-track"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "order_number": "eos",
    "phone": "voluptas",
    "secret_id": "temporibus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-track'
payload = {
    "order_number": "eos",
    "phone": "voluptas",
    "secret_id": "temporibus"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "order": {
        "id": 2,
        "customer_id": 5,
        "order_payment_id": null,
        "order_type": null,
        "order_number": "order-6281-210529061127",
        "payment_type": 1,
        "is_paid": 1,
        "is_confirmed": 1,
        "is_completed": 1,
        "is_cancelled": 0,
        "customer_email": "customer1@gmail.com",
        "customer_phone": "016859865968",
        "customer_shipping_address": 1,
        "customer_billing_address": 1,
        "number_of_package": 2,
        "grand_total": 8695.8,
        "sub_total": 6720,
        "discount_total": 61,
        "shipping_total": 60,
        "number_of_item": 2,
        "order_status": 4,
        "tax_amount": 977.95,
        "created_at": "2021-05-29T12:11:27.000000Z",
        "updated_at": "2021-06-08T07:48:34.000000Z",
        "customer": {},
        "packages": [
            {
                "id": 2,
                "order_id": 2,
                "seller_id": 2,
                "package_code": "TRK - 37774243",
                "number_of_product": 1,
                "shipping_cost": 50,
                "shipping_date": "deafultTheme.Est_arrival_date: 29 May - 01 Jun",
                "shipping_method": 2,
                "is_cancelled": 0,
                "is_reviewed": 0,
                "delivery_status": 4,
                "last_updated_by": null,
                "tax_amount": 967.5,
                "created_at": "2021-05-29T12:11:27.000000Z",
                "updated_at": "2021-06-08T07:48:34.000000Z",
                "deliveryStateName": "Recieved",
                "products": [
                    {
                        "id": 1,
                        "package_id": 2,
                        "type": "product",
                        "product_sku_id": 7,
                        "qty": 1,
                        "price": 6450,
                        "total_price": 6450,
                        "tax_amount": 1,
                        "created_at": "2021-05-29T12:11:27.000000Z",
                        "updated_at": "2021-05-29T12:11:27.000000Z"
                    }
                ]
            },
            {
                "id": 3,
                "order_id": 2,
                "seller_id": 3,
                "package_code": "TRK - 18153972",
                "number_of_product": 1,
                "shipping_cost": 10,
                "shipping_date": "deafultTheme.Est_arrival_date: 06 Jun - 10 Jun",
                "shipping_method": 3,
                "is_cancelled": 0,
                "is_reviewed": 0,
                "delivery_status": 0,
                "last_updated_by": null,
                "tax_amount": 10.45,
                "created_at": "2021-05-29T12:11:27.000000Z",
                "updated_at": "2021-05-29T12:11:27.000000Z",
                "deliveryStateName": "Pending",
                "products": [
                    {
                        "id": 2,
                        "package_id": 3,
                        "type": "product",
                        "product_sku_id": 4,
                        "qty": 1,
                        "price": 209,
                        "total_price": 209,
                        "tax_amount": 1,
                        "created_at": "2021-05-29T12:11:27.000000Z",
                        "updated_at": "2021-05-29T12:11:27.000000Z"
                    }
                ]
            }
        ]
    },
    "message": "success"
}
 

Request   

POST api/order-track

Body Parameters

order_number  string  

order number

phone  string  

billing phone number rewuired for registerd user

secret_id  string  

required for guest

Order Review Package wise

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-review',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-review"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-review'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "package": {
          "id": 8,
          "order_id": 5,
          "seller_id": 4,
          "package_code": "TRK - 13620585",
          "number_of_product": 1,
          "shipping_cost": 10,
          "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
          "shipping_method": 3,
          "is_cancelled": 0,
          "is_reviewed": 1,
          "delivery_status": 5,
          "last_updated_by": 4,
          "tax_amount": 17.6,
          "created_at": "2021-06-07T13:18:43.000000Z",
          "updated_at": "2021-06-08T08:51:16.000000Z",
          "deliveryStateName": "Pending",
          "order": {
              "id": 5,
              "customer_id": 5,
              "order_payment_id": null,
              "order_type": null,
              "order_number": "order-6726-210607071843",
              "payment_type": 1,

          },
          "products": [

          ],
          "shipping": {
              "id": 3,
              "method_name": "Free Shipping",
              "logo": null,
              "phone": "0356865656546",
              "shipment_time": "8-12 days",
              "cost": 0,
              "is_active": 1,
              "created_at": "2021-05-29T07:34:51.000000Z",
              "updated_at": "2021-05-29T07:34:51.000000Z"
          },
          "gst_taxes": [
              {
                  "id": 8,
                  "package_id": 8,
                  "gst_id": 2,
                  "amount": 17.6,
                  "created_at": "2021-06-07T13:18:43.000000Z",
                  "updated_at": "2021-06-07T13:18:43.000000Z"
              }
          ],
          "seller": {
              "id": 4,
              "first_name": "Amazcart Ltd",
              "last_name": null,
              "username": "0156356563235",
              "photo": null,
              "role_id": 5,
          },
          "delivery_process": {
              "id": 5,
              "name": "Delivered",
              "description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s,",
              "created_at": "2021-02-10T22:34:43.000000Z",
              "updated_at": "2021-02-10T22:35:02.000000Z"
          },
          "delivery_states": [
              {
                  "id": 2,
                  "order_package_id": 8,
                  "delivery_status": 5,
                  "note": null,
                  "date": "2021-06-08",
                  "created_by": 4,
                  "updated_by": null,
                  "created_at": "2021-06-08T08:51:16.000000Z",
                  "updated_at": "2021-06-08T08:51:16.000000Z"
              }
          ],
          "reviews": [
              {
                  "id": 1,
                  "customer_id": 5,
                  "seller_id": 4,
                  "product_id": 2,
                  "order_id": 5,
                  "package_id": 8,
                  "review": "test product review",
                  "rating": 4,
                  "is_anonymous": 1,
                  "status": 0,
                  "created_at": "2021-06-08T12:31:32.000000Z",
                  "updated_at": "2021-06-08T12:31:32.000000Z"
              }
          ]
      },
      "message": "success"
}
 

Request   

GET api/order-review

URL Parameters

order_id  integer  

order id

seller_id  integer  

seller id

package_id  integer  

package id

Order Review Store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-review',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'product_id' => 7,
            'product_review' => 'tempore',
            'seller_id' => 12,
            'order_id' => 13,
            'package_id' => 9,
            'seller_rating' => 6.095,
            'seller_review' => 'quia',
            'is_anonymous' => false,
            'product_rating_{id}' => 2.9325,
            'product_type' => 'sequi',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-review"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "product_id": 7,
    "product_review": "tempore",
    "seller_id": 12,
    "order_id": 13,
    "package_id": 9,
    "seller_rating": 6.095,
    "seller_review": "quia",
    "is_anonymous": false,
    "product_rating_{id}": 2.9325,
    "product_type": "sequi"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-review'
payload = {
    "product_id": 7,
    "product_review": "tempore",
    "seller_id": 12,
    "order_id": 13,
    "package_id": 9,
    "seller_rating": 6.095,
    "seller_review": "quia",
    "is_anonymous": false,
    "product_rating_{id}": 2.9325,
    "product_type": "sequi"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
     'message' : 'Review Done. Thanks for Review.'
}
 

Request   

POST api/order-review

Body Parameters

product_id  integer  

id of product

product_review  string  

product review with array format

seller_id  integer  

seller id

order_id  integer  

order id

package_id  integer  

package id

seller_rating  number  

seller rating

seller_review  string  

seller review

is_anonymous  boolean optional  

nullable seller review

product_rating_{id}  number  

product rating

product_type  string  

product type with array product or gift_cart

Waiting for review list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-review/waiting-for-review-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-review/waiting-for-review-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-review/waiting-for-review-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "packages": [
          {
              "id": 8,
              "order_id": 5,
              "seller_id": 4,
              "package_code": "TRK - 13620585",
              "number_of_product": 1,
              "shipping_cost": 10,
              "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
              "shipping_method": 3,
              "is_cancelled": 0,
              "is_reviewed": 0,
              "delivery_status": 5,
              "last_updated_by": 4,
              "tax_amount": 17.6,
              "created_at": "2021-06-07T13:18:43.000000Z",
              "updated_at": "2021-06-08T08:51:16.000000Z",
              "deliveryStateName": "Pending",
              "order": {
                 "id": 5,
                 "customer_id": 5,
                 "order_payment_id": null,
                 "order_type": null,
                 "order_number": "order-6726-210607071843",
                 "payment_type": 1,
                 "is_paid": 1,
                 "is_confirmed": 1,
                 "is_completed": 1,
                 "is_cancelled": 0,
                 "customer_email": "customer1@gmail.com",
                 "customer_phone": "016859865968",
                 "customer_shipping_address": 1,
                 "customer_billing_address": 3,
                 "number_of_package": 1,
                 "grand_total": 397.2,
                 "sub_total": 440,
                 "discount_total": 88,
                 "shipping_total": 10,
                 "number_of_item": 2,
                 "order_status": 5,
                 "tax_amount": 17.6,
                 "created_at": "2021-06-07T13:18:43.000000Z",
                 "updated_at": "2021-06-08T08:51:16.000000Z"
             }
          }
      ],
      "message": "success
}
 

Request   

GET api/order-review/waiting-for-review-list

Review list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-review/list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-review/list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-review/list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "reviews": [
          {
              "id": 8,
              "order_id": 5,
              "seller_id": 4,
              "package_code": "TRK - 13620585",
              "number_of_product": 1,
              "shipping_cost": 10,
              "shipping_date": "deafultTheme.Est_arrival_date: 15 Jun - 19 Jun",
              "shipping_method": 3,
              "is_cancelled": 0,
              "is_reviewed": 1,
              "delivery_status": 5,
              "last_updated_by": 4,
              "tax_amount": 17.6,
              "created_at": "2021-06-07T13:18:43.000000Z",
              "updated_at": "2021-06-08T08:51:16.000000Z",
              "deliveryStateName": "Pending",
              "order": {
                  "id": 5,
                  "customer_id": 5,
                  "order_payment_id": null,
                  "order_type": null,
                  "order_number": "order-6726-210607071843",
                  "payment_type": 1,
                  "is_paid": 1,
                  "is_confirmed": 1,
                  "is_completed": 1,
                  "is_cancelled": 0,
                  "customer_email": "customer1@gmail.com",
                  "customer_phone": "016859865968",
                  "customer_shipping_address": 1,
                  "customer_billing_address": 3,
                  "number_of_package": 1,
                  "grand_total": 397.2,
                  "sub_total": 440,
                  "discount_total": 88,
                  "shipping_total": 10,
                  "number_of_item": 2,
                  "order_status": 5,
                  "tax_amount": 17.6,
                  "created_at": "2021-06-07T13:18:43.000000Z",
                  "updated_at": "2021-06-08T08:51:16.000000Z"
              },
              "reviews": [
                  {
                      "id": 1,
                      "customer_id": 5,
                      "seller_id": 4,
                      "product_id": 2,
                      "order_id": 5,
                      "package_id": 8,
                      "review": "test product review",
                      "rating": 4,
                      "is_anonymous": 1,
                      "status": 0,
                      "created_at": "2021-06-08T12:31:32.000000Z",
                      "updated_at": "2021-06-08T12:31:32.000000Z",
                      "giftcard": {
                              giftcard info....
                       },
                      "product": {},
                      "reply": null,
                      "seller": {
                          "id": 4,
                          "first_name": "Amazcart Ltd",
                          "last_name": null,
                          "username": "0156356563235",
                          "photo": null,
                          "role_id": 5,
                          "mobile_verified_at": null,
                          "email": "amazcart@gmail.com",
                          "is_verified": 1,
                          "verify_code": "74d68bde279426442de115eb532f9f51a21eb448",
                          "email_verified_at": null,
                          "notification_preference": "mail",
                          "is_active": 1,
                          "avatar": null,
                          "phone": null,
                          "date_of_birth": null,
                          "description": null,
                          "secret_login": 0,
                          "secret_logged_in_by_user": null,
                          "created_at": "2021-05-29T07:15:56.000000Z",
                          "updated_at": "2021-05-29T07:15:56.000000Z"
                      },
                      "images": []
                  }
              ],
              "gift_card_reviews": []
          }
      ],
      "message": "success"
}
 

Request   

GET api/order-review/list

Make Refund Page data

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-refund/19',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-refund/19"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-refund/19'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
 "order": {
      "id": 5,
      "customer_id": 5,
      "order_payment_id": null,
      "order_type": null,
      "order_number": "order-6726-210607071843",
      "payment_type": 1,
      "is_paid": 1,
      "is_confirmed": 1,
      "is_completed": 1,
      "is_cancelled": 0,
      "customer_email": "customer1@gmail.com",
      "customer_phone": "016859865968",
      "customer_shipping_address": 1,
      "customer_billing_address": 3,
      "number_of_package": 1,
      "grand_total": 397.2,
      "sub_total": 440,
      "discount_total": 88,
      "shipping_total": 10,
      "number_of_item": 2,
      "order_status": 5,
      "tax_amount": 17.6,
      "created_at": "2021-06-07T13:18:43.000000Z",
      "updated_at": "2021-06-08T08:51:16.000000Z",
      "customer": {
          customer info ....
      },
      "packages": [
          packages ....
      ]
  },
  "shipping_methods": [
      shipping methods ...
  ],
  "reasons": [
      {
          "id": 3,
          "reason": "Broken or tear.",
          "created_at": "2021-06-08T05:16:00.000000Z",
          "updated_at": "2021-06-08T05:24:02.000000Z"
      }
  ]
}
 

Request   

GET api/order-refund/{id}

URL Parameters

id  integer  

id of order

Refund Store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-refund/store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'order_id' => 7,
            'product_ids' => 'ut',
            'money_get_method' => 'consequatur',
            'shipping_way' => 'unde',
            'qty_{package_id}' => 'eius',
            'reason_{package_id}' => 'et',
            'additional_info' => 'et',
            'bank_name' => 'similique',
            'branch_name' => 'et',
            'account_name' => 'unde',
            'account_no' => 'ut',
            'couriers' => 20,
            'pick_up_address_id' => 4,
            'drop_off_couriers' => 17,
            'drop_off_courier_address' => 'quos',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-refund/store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "order_id": 7,
    "product_ids": "ut",
    "money_get_method": "consequatur",
    "shipping_way": "unde",
    "qty_{package_id}": "eius",
    "reason_{package_id}": "et",
    "additional_info": "et",
    "bank_name": "similique",
    "branch_name": "et",
    "account_name": "unde",
    "account_no": "ut",
    "couriers": 20,
    "pick_up_address_id": 4,
    "drop_off_couriers": 17,
    "drop_off_courier_address": "quos"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-refund/store'
payload = {
    "order_id": 7,
    "product_ids": "ut",
    "money_get_method": "consequatur",
    "shipping_way": "unde",
    "qty_{package_id}": "eius",
    "reason_{package_id}": "et",
    "additional_info": "et",
    "bank_name": "similique",
    "branch_name": "et",
    "account_name": "unde",
    "account_no": "ut",
    "couriers": 20,
    "pick_up_address_id": 4,
    "drop_off_couriers": 17,
    "drop_off_courier_address": "quos"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
     'message' : 'refund successfully'
}
 

Request   

POST api/order-refund/store

Body Parameters

order_id  integer  

order id example : 5

product_ids  string  

product info-> package_id-product_id-seller_id-amount example : 3-5-7-116.09

money_get_method  string  

wallet or bank_transfer example : wallet

shipping_way  string  

courier or drop_off example : courier

qty_{package_id}  string  

quantity for which product example : 1

reason_{package_id}  string  

reason for which product example : 1

additional_info  string optional  

nullable additional information

bank_name  string optional  

nullable bank name

branch_name  string optional  

nullable branch name

account_name  string optional  

nullable account name

account_no  string optional  

nullable account no

couriers  integer optional  

nullable shipping method id example: 1

pick_up_address_id  integer optional  

nullable customer address id example: 1

drop_off_couriers  integer optional  

nullable shipping method id id example: 1

drop_off_courier_address  string optional  

nullable drop off courier address

Order Track

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-track-guest',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'order_number' => 'vel',
            'phone' => 'ex',
            'secret_id' => 'explicabo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-track-guest"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "order_number": "vel",
    "phone": "ex",
    "secret_id": "explicabo"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-track-guest'
payload = {
    "order_number": "vel",
    "phone": "ex",
    "secret_id": "explicabo"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "order": {
        "id": 2,
        "customer_id": 5,
        "order_payment_id": null,
        "order_type": null,
        "order_number": "order-6281-210529061127",
        "payment_type": 1,
        "is_paid": 1,
        "is_confirmed": 1,
        "is_completed": 1,
        "is_cancelled": 0,
        "customer_email": "customer1@gmail.com",
        "customer_phone": "016859865968",
        "customer_shipping_address": 1,
        "customer_billing_address": 1,
        "number_of_package": 2,
        "grand_total": 8695.8,
        "sub_total": 6720,
        "discount_total": 61,
        "shipping_total": 60,
        "number_of_item": 2,
        "order_status": 4,
        "tax_amount": 977.95,
        "created_at": "2021-05-29T12:11:27.000000Z",
        "updated_at": "2021-06-08T07:48:34.000000Z",
        "customer": {},
        "packages": [
            {
                "id": 2,
                "order_id": 2,
                "seller_id": 2,
                "package_code": "TRK - 37774243",
                "number_of_product": 1,
                "shipping_cost": 50,
                "shipping_date": "deafultTheme.Est_arrival_date: 29 May - 01 Jun",
                "shipping_method": 2,
                "is_cancelled": 0,
                "is_reviewed": 0,
                "delivery_status": 4,
                "last_updated_by": null,
                "tax_amount": 967.5,
                "created_at": "2021-05-29T12:11:27.000000Z",
                "updated_at": "2021-06-08T07:48:34.000000Z",
                "deliveryStateName": "Recieved",
                "products": [
                    {
                        "id": 1,
                        "package_id": 2,
                        "type": "product",
                        "product_sku_id": 7,
                        "qty": 1,
                        "price": 6450,
                        "total_price": 6450,
                        "tax_amount": 1,
                        "created_at": "2021-05-29T12:11:27.000000Z",
                        "updated_at": "2021-05-29T12:11:27.000000Z"
                    }
                ]
            },
            {
                "id": 3,
                "order_id": 2,
                "seller_id": 3,
                "package_code": "TRK - 18153972",
                "number_of_product": 1,
                "shipping_cost": 10,
                "shipping_date": "deafultTheme.Est_arrival_date: 06 Jun - 10 Jun",
                "shipping_method": 3,
                "is_cancelled": 0,
                "is_reviewed": 0,
                "delivery_status": 0,
                "last_updated_by": null,
                "tax_amount": 10.45,
                "created_at": "2021-05-29T12:11:27.000000Z",
                "updated_at": "2021-05-29T12:11:27.000000Z",
                "deliveryStateName": "Pending",
                "products": [
                    {
                        "id": 2,
                        "package_id": 3,
                        "type": "product",
                        "product_sku_id": 4,
                        "qty": 1,
                        "price": 209,
                        "total_price": 209,
                        "tax_amount": 1,
                        "created_at": "2021-05-29T12:11:27.000000Z",
                        "updated_at": "2021-05-29T12:11:27.000000Z"
                    }
                ]
            }
        ]
    },
    "message": "success"
}
 

Request   

POST api/order-track-guest

Body Parameters

order_number  string  

order number

phone  string  

billing phone number rewuired for registerd user

secret_id  string  

required for guest

Order Cancel Reasons

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "reasons": [
        {
            "id": 1,
            "name": "Change of mind.",
            "description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, co",
            "created_at": "2021-08-14T12:42:19.000000Z",
            "updated_at": "2021-08-14T12:42:19.000000Z"
        },
        {
            "id": 2,
            "name": "Late delivery.",
            "description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, co",
            "created_at": "2021-08-14T12:42:34.000000Z",
            "updated_at": "2021-08-14T12:42:34.000000Z"
        },
        {
            "id": 3,
            "name": "Seller is not good.",
            "description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, co",
            "created_at": "2021-08-14T12:42:54.000000Z",
            "updated_at": "2021-08-14T12:42:54.000000Z"
        }
    ],
    "message": "success"
}
 

Request   

GET api/order-manage/cancel-reason-list

Single Order Cancel Reason

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason/molestiae',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason/molestiae"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-manage/cancel-reason/molestiae'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "reason": {
        "id": 1,
        "name": "Change of mind.",
        "description": "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, co",
        "created_at": "2021-08-14T12:42:19.000000Z",
        "updated_at": "2021-08-14T12:42:19.000000Z"
    },
    "message": "success"
}
 

Request   

GET api/order-manage/cancel-reason/{id}

URL Parameters

id  string  

The ID of the cancel reason.

Order Cancel

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/order-manage/cancel-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'order_id' => 'et',
            'reason' => 5,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/order-manage/cancel-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "order_id": "et",
    "reason": 5
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/order-manage/cancel-store'
payload = {
    "order_id": "et",
    "reason": 5
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "message": "Order Cancelled Successfully"
}
 

Request   

POST api/order-manage/cancel-store

Body Parameters

order_id  string  

example: Order-69-210920125307

reason  integer  

example: 2

Payment Gateway

APIs for Payment gateways

Pament Gateway List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/payment-gateway',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/payment-gateway"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/payment-gateway'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": [
          {
              "id": 1,
              "method": "Cash On Delivery",
              "type": "System",
              "active_status": 1,
              "module_status": 1,
              "logo": "frontend/gateway/cod.jpg",
              "created_by": 1,
              "updated_by": 1,
              "created_at": "2021-07-01T09:51:48.000000Z",
              "updated_at": "2021-07-01T09:51:48.000000Z"
          },
          {
              "id": 7,
              "method": "Bank Payment",
              "type": "System",
              "active_status": 0,
              "module_status": 1,
              "logo": "",
              "created_by": 1,
              "updated_by": 1,
              "created_at": "2021-07-01T09:51:48.000000Z",
              "updated_at": "2021-07-01T09:51:48.000000Z"
          },
          {
              "id": 9,
              "method": "PayTM",
              "type": "System",
              "active_status": 0,
              "module_status": 1,
              "logo": "",
              "created_by": 1,
              "updated_by": 1,
              "created_at": "2021-07-01T09:51:48.000000Z",
              "updated_at": "2021-07-01T09:51:48.000000Z"
          },
      ]
}
 

Request   

GET api/payment-gateway

Single Payment Gateway

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/payment-gateway/repellendus',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/payment-gateway/repellendus"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/payment-gateway/repellendus'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "data": {
        "id": 7,
        "method": "Bank Payment",
        "type": "System",
        "active_status": 1,
        "module_status": 1,
        "logo": "",
        "created_by": 1,
        "updated_by": 1,
        "created_at": "2021-07-01T09:51:48.000000Z",
        "updated_at": "2021-07-01T09:51:48.000000Z"
    }
}
 

Request   

GET api/payment-gateway/{id}

URL Parameters

id  string  

The ID of the payment gateway.

Bank Payment info

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/payment-gateway/bank/bank-info',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/payment-gateway/bank/bank-info"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/payment-gateway/bank/bank-info'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "bank_info": {
        "bank_name": "Dutch Bangla",
        "branch_name": "Panthapath, Dhaka",
        "account_number": "5468656665655",
        "account_holder": "Amazcart"
    },
    "message": "success"
}
 

Request   

GET api/payment-gateway/bank/bank-info

bank payment data store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/payment-gateway/bank/payment-data-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'multipart/form-data',
            'Authorization' => 'Bearer {token}',
        ],
        'multipart' => [
            [
                'name' => 'payment_for',
                'contents' => 'reiciendis'
            ],
            [
                'name' => 'payment_method',
                'contents' => '5'
            ],
            [
                'name' => 'bank_name',
                'contents' => 'eaque'
            ],
            [
                'name' => 'branch_name',
                'contents' => 'nobis'
            ],
            [
                'name' => 'account_number',
                'contents' => 'est'
            ],
            [
                'name' => 'account_holder',
                'contents' => 'minima'
            ],
            [
                'name' => 'bank_amount',
                'contents' => '1.241102776'
            ],
            [
                'name' => 'image',
                'contents' => fopen('C:\Users\HAFIJ\AppData\Local\Temp\php633.tmp', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/payment-gateway/bank/payment-data-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "multipart/form-data",
    "Authorization": "Bearer {token}",
};

const body = new FormData();
body.append('payment_for', 'reiciendis');
body.append('payment_method', '5');
body.append('bank_name', 'eaque');
body.append('branch_name', 'nobis');
body.append('account_number', 'est');
body.append('account_holder', 'minima');
body.append('bank_amount', '1.241102776');
body.append('image', document.querySelector('input[name="image"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/payment-gateway/bank/payment-data-store'
files = {
  'image': open('C:\Users\HAFIJ\AppData\Local\Temp\php633.tmp', 'rb')
}
payload = {
    "payment_for": "reiciendis",
    "payment_method": 5,
    "bank_name": "eaque",
    "branch_name": "nobis",
    "account_number": "est",
    "account_holder": "minima",
    "bank_amount": 1.241102776
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'multipart/form-data',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, files=files, data=payload)
response.json()

Example response (200):


{
    "payment_info": {
        "user_id": 8,
        "amount": "500",
        "payment_method": 7,
        "txn_id": "none",
        "updated_at": "2021-07-11T07:26:49.000000Z",
        "created_at": "2021-07-11T07:26:49.000000Z",
        "id": 4
    },
    "bank_details": {
        "bank_name": "test bank name",
        "branch_name": "test branch name",
        "account_number": "354655356565",
        "account_holder": "holder name",
        "image_src": null,
        "updated_at": "2021-07-11T07:26:49.000000Z",
        "created_at": "2021-07-11T07:26:49.000000Z",
        "id": 3
    },
    "message": "success"
}
 

Request   

POST api/payment-gateway/bank/payment-data-store

Body Parameters

payment_for  string  

example: order_payment or wallet_payment

payment_method  integer  

example: 7

bank_name  string  

example: Dutch Bangla Bank

branch_name  string  

example: Savar Branch

account_number  string  

example: 8719832453948

account_holder  string  

example: Hafijur Rahman

bank_amount  number  

example: 510

image  file optional  

nullable checque image

Product Management

APIs for Product Management

Seller Products

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/products',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/products"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/products'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
"data": [
  {
      "id": 2,
      "user_id": 4,
      "product_id": 4,
      "tax": 5,
      "tax_type": "0",
      "discount": 5,
      "discount_type": "0",
      "discount_start_date": "05/25/2021",
      "discount_end_date": "06/30/2021",
      "product_name": "Xiaomi MI 5X",
      "slug": "xiaomi-mi-5x-4",
      "thum_img": null,
      "status": 1,
      "stock_manage": 0,
      "is_approved": 0,
      "min_sell_price": 200,
      "max_sell_price": 220,
      "total_sale": 3,
      "avg_rating": 4.03,
      "recent_view": "2021-06-08 10:06:56",
      "created_at": "2021-05-29T10:25:59.000000Z",
      "updated_at": "2021-06-08T04:06:56.000000Z",
      "variantDetails": [
          {
              "value": [
                  "4GB-32GB",
                  "4GB-64GB"
              ],
              "code": [
                  "4GB-32GB",
                  "4GB-64GB"
              ],
              "attr_val_id": [
                  13,
                  14
              ],
              "name": "Storage",
              "attr_id": 3
          }
      ],
      "MaxSellingPrice": 220,
      "hasDeal": {
          "id": 1,
          "flash_deal_id": 1,
          "seller_product_id": 2,
          "discount": 20,
          "discount_type": 0,
          "status": 1,
          "created_at": "2021-06-01T12:56:18.000000Z",
          "updated_at": "2021-06-02T10:36:20.000000Z"
      },
      "rating": 0,
      "product": {
          "id": 4,
          "product_name": "Xiaomi MI 5X",
          "product_type": 2,
          "unit_type_id": 1,
          "brand_id": 1,
          "category_id": 6,
          "thumbnail_image_source": "uploads/images/29-05-2021/60b1eed81a7fb.jpeg",
          "barcode_type": "C39",
          "model_number": "mi 5x",
          "shipping_type": 0,
          "shipping_cost": 0,
          "discount_type": "1",
          "discount": 0,
          "tax_type": "0",
          "tax": 5,
          "pdf": null,
          "video_provider": "youtube",
          "video_link": null,
          "description": "<p>test product</p>",
          "specification": "<p>test product</p>",
          "minimum_order_qty": 1,
          "max_order_qty": 5,
          "meta_title": null,
          "meta_description": null,
          "meta_image": null,
          "is_physical": 1,
          "is_approved": 1,
          "display_in_details": 1,
          "requested_by": 1,
          "created_by": 1,
          "slug": "xiaomi-mi-5x",
          "updated_by": null,
          "created_at": "2021-05-29T07:35:52.000000Z",
          "updated_at": "2021-05-29T07:35:52.000000Z",
          "brand": {
              "id": 1,
              "name": "Xiaomi",
              "logo": "uploads/images/29-05-2021/60b1d5f554a07.png",
              "description": null,
              "link": null,
              "status": 1,
              "featured": 1,
              "meta_title": null,
              "meta_description": null,
              "sort_id": null,
              "total_sale": 3,
              "avg_rating": 0,
              "slug": "xiaomi",
              "created_by": null,
              "updated_by": 5,
              "created_at": "2021-05-29T05:49:41.000000Z",
              "updated_at": "2021-06-07T13:18:43.000000Z",

          },
          "category": {
              "id": 6,
              "name": "Mobile",
              "slug": "mobile",
              "parent_id": 3,
              "depth_level": 2,
              "icon": "fas fa-mobile-alt",
              "searchable": 1,
              "status": 1,
              "total_sale": 3,
              "avg_rating": 0,
              "commission_rate": 0,
              "created_at": "2021-05-29T07:27:11.000000Z",
              "updated_at": "2021-06-07T13:18:43.000000Z",

          },
          "unit_type": {
              "id": 1,
              "name": "Pcs",
              "description": null,
              "status": 1,
              "created_by": null,
              "updated_by": null,
              "created_at": "2021-05-29T05:50:02.000000Z",
              "updated_at": "2021-05-29T05:50:02.000000Z"
          },
          "variations": [
              {
                  "id": 3,
                  "product_id": 4,
                  "product_sku_id": 5,
                  "attribute_id": 3,
                  "attribute_value_id": 13,
                  "created_by": null,
                  "updated_by": null,
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z"
              }
          ],
          "skus": [
              {
                  "id": 5,
                  "product_id": 4,
                  "sku": "XM5-4GB-32GB-Black",
                  "purchase_price": 0,
                  "selling_price": 200,
                  "additional_shipping": 10,
                  "variant_image": "uploads/images/29-05-2021/60b1eed8672b3.jpeg",
                  "status": 1,
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z"
              }

          ],
          "tags": [
              {
                  "id": 6,
                  "product_id": 4,
                  "tag": "mi",
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z"
              }
          ],
          "gallary_images": [
              {
                  "id": 7,
                  "product_id": 4,
                  "images_source": "uploads/images/29-05-2021/60b1eed829096.jpeg",
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z"
              }
          ],
          "related_products": [],
          "up_sales": [],
          "cross_sales": [],
          "shipping_methods": [
              {
                  "id": 4,
                  "product_id": 4,
                  "shipping_method_id": 3,
                  "created_by": null,
                  "updated_by": null,
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z"
              }
          ]
      },
      "seller": {
          "id": 4,
          "first_name": "Amazcart Ltd",
          "last_name": null,
          "username": "0156356563235",
          "photo": null,
          "role_id": 5,
          "mobile_verified_at": null,
          "email": "amazcart@gmail.com",
          "is_verified": 1,
          "verify_code": "74d68bde279426442de115eb532f9f51a21eb448",
          "email_verified_at": null,
          "notification_preference": "mail",
          "is_active": 1,
          "avatar": null,
          "phone": null,
          "date_of_birth": null,
          "description": null,
          "secret_login": 0,
          "secret_logged_in_by_user": null,
          "created_at": "2021-05-29T07:15:56.000000Z",
          "updated_at": "2021-05-29T07:15:56.000000Z"
      },
      "reviews": [
          {
              "id": 1,
              "customer_id": 5,
              "seller_id": 4,
              "product_id": 2,
              "order_id": 5,
              "package_id": 8,
              "review": "test product review",
              "rating": 4,
              "is_anonymous": 1,
              "status": 0,
              "created_at": "2021-06-08T12:31:32.000000Z",
              "updated_at": "2021-06-08T12:31:32.000000Z"
          }
      ],
      "skus": [
          {
              "id": 1,
              "user_id": 4,
              "product_id": 2,
              "product_sku_id": "5",
              "product_stock": 0,
              "purchase_price": 0,
              "selling_price": 200,
              "status": 1,
              "created_at": "2021-05-29T10:25:59.000000Z",
              "updated_at": "2021-05-29T10:25:59.000000Z",
              "product_variations": [
                  {
                      "id": 3,
                      "product_id": 4,
                      "product_sku_id": 5,
                      "attribute_id": 3,
                      "attribute_value_id": 13,
                      "created_by": null,
                      "updated_by": null,
                      "created_at": "2021-05-29T07:35:52.000000Z",
                      "updated_at": "2021-05-29T07:35:52.000000Z",
                      "attribute_value": {
                          "id": 13,
                          "value": "4GB-32GB",
                          "attribute_id": 3,
                          "created_at": "2021-05-29T07:31:25.000000Z",
                          "updated_at": null,
                          "color": null
                      },
                      "attribute": {
                          "id": 3,
                          "name": "Storage",
                          "display_type": "radio_button",
                          "description": null,
                          "status": 1,
                          "created_by": null,
                          "updated_by": null,
                          "created_at": "2021-05-29T07:31:25.000000Z",
                          "updated_at": "2021-05-29T07:31:25.000000Z"
                      }
                  }
              ]
          }
      ]
  }
  ],
  "links": {
      "first": "http://ecommerce.test/api/seller/products?page=1",
      "last": "http://ecommerce.test/api/seller/products?page=1",
      "prev": null,
      "next": null
  },
  "meta": {
      "current_page": 1,
      "from": 1,
      "last_page": 1,
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller/products?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": null,
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "path": "http://ecommerce.test/api/seller/products",
      "per_page": 10,
      "to": 4,
      "total": 4
  }
}
 

Request   

GET api/seller/products

Show single product

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/products/debitis',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/products/debitis"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/products/debitis'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
"data": {
  "id": 2,
  "user_id": 4,
  "product_id": 4,
  "tax": 5,
  "tax_type": "0",
  "discount": 5,
  "discount_type": "0",
  "discount_start_date": "05/25/2021",
  "discount_end_date": "06/30/2021",
  "product_name": "Xiaomi MI 5X",
  "slug": "xiaomi-mi-5x-4",
  "thum_img": null,
  "status": 1,
  "stock_manage": 0,
  "is_approved": 0,
  "min_sell_price": 200,
  "max_sell_price": 220,
  "total_sale": 3,
  "avg_rating": 4.03,
  "recent_view": "2021-06-08 10:06:56",
  "created_at": "2021-05-29T10:25:59.000000Z",
  "updated_at": "2021-06-08T04:06:56.000000Z",
  "variantDetails": [
      {
          "value": [
              "4GB-32GB",
              "4GB-64GB"
          ],
          "code": [
              "4GB-32GB",
              "4GB-64GB"
          ],
          "attr_val_id": [
              13,
              14
          ],
          "name": "Storage",
          "attr_id": 3
      }
  ],
  "MaxSellingPrice": 220,
  "hasDeal": {
      "id": 1,
      "flash_deal_id": 1,
      "seller_product_id": 2,
      "discount": 20,
      "discount_type": 0,
      "status": 1,
      "created_at": "2021-06-01T12:56:18.000000Z",
      "updated_at": "2021-06-02T10:36:20.000000Z"
  },
  "rating": 0,
  "product": {
      "id": 4,
      "product_name": "Xiaomi MI 5X",
      "product_type": 2,
      "unit_type_id": 1,
      "brand_id": 1,
      "category_id": 6,
      "thumbnail_image_source": "uploads/images/29-05-2021/60b1eed81a7fb.jpeg",
      "barcode_type": "C39",
      "model_number": "mi 5x",
      "shipping_type": 0,
      "shipping_cost": 0,
      "discount_type": "1",
      "discount": 0,
      "tax_type": "0",
      "tax": 5,
      "pdf": null,
      "video_provider": "youtube",
      "video_link": null,
      "description": "<p>test product</p>",
      "specification": "<p>test product</p>",
      "minimum_order_qty": 1,
      "max_order_qty": 5,
      "meta_title": null,
      "meta_description": null,
      "meta_image": null,
      "is_physical": 1,
      "is_approved": 1,
      "display_in_details": 1,
      "requested_by": 1,
      "created_by": 1,
      "slug": "xiaomi-mi-5x",
      "updated_by": null,
      "created_at": "2021-05-29T07:35:52.000000Z",
      "updated_at": "2021-05-29T07:35:52.000000Z",
      "brand": {
          "id": 1,
          "name": "Xiaomi",
          "logo": "uploads/images/29-05-2021/60b1d5f554a07.png",
          "description": null,
          "link": null,
          "status": 1,
          "featured": 1,
          "meta_title": null,
          "meta_description": null,
          "sort_id": null,
          "total_sale": 3,
          "avg_rating": 0,
          "slug": "xiaomi",
          "created_by": null,
          "updated_by": 5,
          "created_at": "2021-05-29T05:49:41.000000Z",
          "updated_at": "2021-06-07T13:18:43.000000Z",

      },
      "category": {
          "id": 6,
          "name": "Mobile",
          "slug": "mobile",
          "parent_id": 3,
          "depth_level": 2,
          "icon": "fas fa-mobile-alt",
          "searchable": 1,
          "status": 1,
          "total_sale": 3,
          "avg_rating": 0,
          "commission_rate": 0,
          "created_at": "2021-05-29T07:27:11.000000Z",
          "updated_at": "2021-06-07T13:18:43.000000Z",

      },
      "unit_type": {
          "id": 1,
          "name": "Pcs",
          "description": null,
          "status": 1,
          "created_by": null,
          "updated_by": null,
          "created_at": "2021-05-29T05:50:02.000000Z",
          "updated_at": "2021-05-29T05:50:02.000000Z"
      },
      "variations": [
          {
              "id": 3,
              "product_id": 4,
              "product_sku_id": 5,
              "attribute_id": 3,
              "attribute_value_id": 13,
              "created_by": null,
              "updated_by": null,
              "created_at": "2021-05-29T07:35:52.000000Z",
              "updated_at": "2021-05-29T07:35:52.000000Z"
          }
      ],
      "skus": [
          {
              "id": 5,
              "product_id": 4,
              "sku": "XM5-4GB-32GB-Black",
              "purchase_price": 0,
              "selling_price": 200,
              "additional_shipping": 10,
              "variant_image": "uploads/images/29-05-2021/60b1eed8672b3.jpeg",
              "status": 1,
              "created_at": "2021-05-29T07:35:52.000000Z",
              "updated_at": "2021-05-29T07:35:52.000000Z"
          }
      ],
      "tags": [
          {
              "id": 6,
              "product_id": 4,
              "tag": "mi",
              "created_at": "2021-05-29T07:35:52.000000Z",
              "updated_at": "2021-05-29T07:35:52.000000Z"
          }
      ],
      "gallary_images": [
          {
              "id": 7,
              "product_id": 4,
              "images_source": "uploads/images/29-05-2021/60b1eed829096.jpeg",
              "created_at": "2021-05-29T07:35:52.000000Z",
              "updated_at": "2021-05-29T07:35:52.000000Z"
          }
      ],
      "related_products": [],
      "up_sales": [],
      "cross_sales": [],
      "shipping_methods": [
          {
              "id": 4,
              "product_id": 4,
              "shipping_method_id": 3,
              "created_by": null,
              "updated_by": null,
              "created_at": "2021-05-29T07:35:52.000000Z",
              "updated_at": "2021-05-29T07:35:52.000000Z"
          }
      ]
  },
  "seller": {
      "id": 4,
      "first_name": "Amazcart Ltd",
      "last_name": null,
      "username": "0156356563235",
      "photo": null,
      "role_id": 5,
      "mobile_verified_at": null,
      "email": "amazcart@gmail.com",
      "is_verified": 1,
      "verify_code": "74d68bde279426442de115eb532f9f51a21eb448",
      "email_verified_at": null,
      "notification_preference": "mail",
      "is_active": 1,
      "avatar": null,
      "phone": null,
      "date_of_birth": null,
      "description": null,
      "secret_login": 0,
      "secret_logged_in_by_user": null,
      "created_at": "2021-05-29T07:15:56.000000Z",
      "updated_at": "2021-05-29T07:15:56.000000Z"
  },
  "reviews": [
      {
          "id": 1,
          "customer_id": 5,
          "seller_id": 4,
          "product_id": 2,
          "order_id": 5,
          "package_id": 8,
          "review": "test product review",
          "rating": 4,
          "is_anonymous": 1,
          "status": 0,
          "created_at": "2021-06-08T12:31:32.000000Z",
          "updated_at": "2021-06-08T12:31:32.000000Z"
      }
  ],
  "skus": [
      {
          "id": 1,
          "user_id": 4,
          "product_id": 2,
          "product_sku_id": "5",
          "product_stock": 0,
          "purchase_price": 0,
          "selling_price": 200,
          "status": 1,
          "created_at": "2021-05-29T10:25:59.000000Z",
          "updated_at": "2021-05-29T10:25:59.000000Z",
          "product_variations": [
              {
                  "id": 3,
                  "product_id": 4,
                  "product_sku_id": 5,
                  "attribute_id": 3,
                  "attribute_value_id": 13,
                  "created_by": null,
                  "updated_by": null,
                  "created_at": "2021-05-29T07:35:52.000000Z",
                  "updated_at": "2021-05-29T07:35:52.000000Z",
                  "attribute_value": {
                      "id": 13,
                      "value": "4GB-32GB",
                      "attribute_id": 3,
                      "created_at": "2021-05-29T07:31:25.000000Z",
                      "updated_at": null,
                      "color": null
                  },
                  "attribute": {
                      "id": 3,
                      "name": "Storage",
                      "display_type": "radio_button",
                      "description": null,
                      "status": 1,
                      "created_by": null,
                      "updated_by": null,
                      "created_at": "2021-05-29T07:31:25.000000Z",
                      "updated_at": "2021-05-29T07:31:25.000000Z"
                  }
              }
          ]
      }
  ]
}
}
 

Request   

GET api/seller/products/{id}

URL Parameters

id  string  

The ID of the product.

sku wise price

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/product/get-sku-wise-price',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            '"id"' => 'corporis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/get-sku-wise-price"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "\"id\"": "corporis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/get-sku-wise-price'
payload = {
    "\"id\"": "corporis"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


"data": {
      "id": 5,
      "user_id": 4,
      "product_id": 2,
      "product_sku_id": "9",
      "product_stock": 0,
      "purchase_price": 0,
      "selling_price": 220,
      "status": 1,
      "created_at": "2021-05-29T10:25:59.000000Z",
      "updated_at": "2021-05-29T10:25:59.000000Z",
      "sku": {
          "id": 9,
          "product_id": 4,
          "sku": "XM5-4GB-64GB-Red",
          "purchase_price": 0,
          "selling_price": 220,
          "additional_shipping": 10,
          "variant_image": null,
          "status": 1,
          "created_at": "2021-05-29T07:35:52.000000Z",
          "updated_at": "2021-05-29T07:35:52.000000Z"
      },
      "product": {

      }
  }
 

Request   

POST api/seller/product/get-sku-wise-price

Body Parameters

"id"  :["14-3","6-1"]  

@bodyParam "product_id" : "2" required @bodyParam "user_id" : "4" required

Recomanded product

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/product/recomanded-product',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/recomanded-product"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/recomanded-product'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "data": [
          {
              "id": 2,
              "user_id": 6,
              "product_id": 3,
              "tax": 10,
              "tax_type": "0",
              "discount": 5,
              "discount_type": "0",
              "discount_start_date": "07/01/2021",
              "discount_end_date": "07/31/2021",
              "product_name": "Xiaomi Mi 5X",
              "slug": "xiaomi-mi-5x-6",
              "thum_img": null,
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 190,
              "max_sell_price": 220,
              "total_sale": 1,
              "avg_rating": 0,
              "recent_view": "2021-07-11 11:44:45",
              "created_at": "2021-07-03T08:05:47.000000Z",
              "updated_at": "2021-07-11T05:47:34.000000Z",
              "variantDetails": [

              ],
              "MaxSellingPrice": 220,
              "hasDeal": 0,
              "rating": 0,
              "product": {
                  "id": 3,
                  "product_name": "Xiaomi Mi 5X",
                  ...
                  "shipping_methods": [

                  ],
                  "up_sales": [],
                  "cross_sales": [],
                  "related_products": [],
                  "gallary_images": [

                  ],
                  "brand": {

                  },
                  "category": {

                  },
                  "unit_type": {

                  },
                  "variations": [

                  ],
                  "skus": [

                  ],
                  "tags": [

                  ]
              },
              "skus": [

              ],
              "reviews": []
          },
      ],
      "links": {
          "first": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
          "last": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
          "prev": null,
          "next": null
      },
      "meta": {
          "current_page": 1,
          "from": 1,
          "last_page": 1,
          "links": [
              {
                  "url": null,
                  "label": "&laquo; Previous",
                  "active": false
              },
              {
                  "url": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
                  "label": "1",
                  "active": true
              },
              {
                  "url": null,
                  "label": "Next &raquo;",
                  "active": false
              }
          ],
          "path": "http://ecommerce.test/api/seller/product/recomanded-product",
          "per_page": 10,
          "to": 5,
          "total": 5
      }
}
 

Request   

GET api/seller/product/recomanded-product

Top Picks

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/product/top-picks',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/top-picks"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/top-picks'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     *      "data": [
          {
              "id": 2,
              "user_id": 6,
              "product_id": 3,
              "tax": 10,
              "tax_type": "0",
              "discount": 5,
              "discount_type": "0",
              "discount_start_date": "07/01/2021",
              "discount_end_date": "07/31/2021",
              "product_name": "Xiaomi Mi 5X",
              "slug": "xiaomi-mi-5x-6",
              "thum_img": null,
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 190,
              "max_sell_price": 220,
              "total_sale": 1,
              "avg_rating": 0,
              "recent_view": "2021-07-11 11:44:45",
              "created_at": "2021-07-03T08:05:47.000000Z",
              "updated_at": "2021-07-11T05:47:34.000000Z",
              "variantDetails": [

              ],
              "MaxSellingPrice": 220,
              "hasDeal": 0,
              "rating": 0,
              "product": {
                  "id": 3,
                  "product_name": "Xiaomi Mi 5X",
                  ...
                  "shipping_methods": [

                  ],
                  "up_sales": [],
                  "cross_sales": [],
                  "related_products": [],
                  "gallary_images": [

                  ],
                  "brand": {

                  },
                  "category": {

                  },
                  "unit_type": {

                  },
                  "variations": [

                  ],
                  "skus": [

                  ],
                  "tags": [

                  ]
              },
              "skus": [

              ],
              "reviews": []
          },
      ],
      "links": {
          "first": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
          "last": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
          "prev": null,
          "next": null
      },
      "meta": {
          "current_page": 1,
          "from": 1,
          "last_page": 1,
          "links": [
              {
                  "url": null,
                  "label": "&laquo; Previous",
                  "active": false
              },
              {
                  "url": "http://ecommerce.test/api/seller/product/recomanded-product?page=1",
                  "label": "1",
                  "active": true
              },
              {
                  "url": null,
                  "label": "Next &raquo;",
                  "active": false
              }
          ],
          "path": "http://ecommerce.test/api/seller/product/recomanded-product",
          "per_page": 10,
          "to": 5,
          "total": 5
      }
}
 

Request   

GET api/seller/product/top-picks

Sort Before Filter

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/product/sort-before-filter',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/sort-before-filter"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/sort-before-filter'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "data": [],
    "links": {
        "first": "http://ecommerce.test/api/seller/product/sort-before-filter?page=1",
        "last": "http://ecommerce.test/api/seller/product/sort-before-filter?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/sort-before-filter?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://ecommerce.test/api/seller/product/sort-before-filter",
        "per_page": "10",
        "to": 1,
        "total": 1
    }
}
 

Request   

GET api/seller/product/sort-before-filter

URL Parameters

sort_by  string  

example: new, old

paginate_by  integer  

example: 10

requestItem  integer  

id from requested item example: 2

requestItemType  string  

request item type example: category, brand, tag

page  integer optional  

page number example: 2

Filter Product from single Category, brand, etc

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-by-type',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'filterType' => 'animi',
            'requestItem' => 19513086.91,
            'requestItemType' => 'rerum',
            'paginate_by' => 5190802.00622,
            'sort_by' => 'assumenda',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-by-type"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "filterType": "animi",
    "requestItem": 19513086.91,
    "requestItemType": "rerum",
    "paginate_by": 5190802.00622,
    "sort_by": "assumenda"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-by-type'
payload = {
    "filterType": "animi",
    "requestItem": 19513086.91,
    "requestItemType": "rerum",
    "paginate_by": 5190802.00622,
    "sort_by": "assumenda"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "data": [
        {
            "id": 2,
            "user_id": 4,
            "product_id": 4,
            "tax": 5,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "0",
            "discount_start_date": "05/25/2021",
            "discount_end_date": "06/30/2021",
            "product_name": "Xiaomi MI 5X",
            "slug": "xiaomi-mi-5x-4",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 200,
            "max_sell_price": 220,
            "total_sale": 3,
            "avg_rating": 4.03,
            "recent_view": "2021-06-10 13:42:23",
            "created_at": "2021-05-29T10:25:59.000000Z",
            "updated_at": "2021-06-10T07:42:23.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 220,
            "hasDeal": {},
            "rating": 0,
            "skus": [],
            "reviews": []
        }
    ],
    "links": {
        "first": "http://ecommerce.test/api/seller/product/filter/filter-product-by-type?page=1",
        "last": "http://ecommerce.test/api/seller/product/filter/filter-product-by-type?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/filter-product-by-type?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://ecommerce.test/api/seller/product/filter/filter-product-by-type",
        "per_page": "1",
        "to": 1,
        "total": 1
    }
}
 

Request   

POST api/seller/product/filter/filter-product-by-type

Body Parameters

filterType  string  

"filterType" :[{"filterTypeId" : "brand","filterTypeValue" : [1]},{"filterTypeId" : "3","filterTypeValue" : [13]}

requestItem  number  

category number

requestItemType  string  

category

paginate_by  number  

10

sort_by  string  

new

sort after filter product

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-sort-product-by-type',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'filterDataFromCat' => 'quia',
            'paginate' => 4.393804,
            'sort_by' => 'dolores',
            'requestItem' => 18183749.892138,
            'requestItemType' => 'sit',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-sort-product-by-type"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "filterDataFromCat": "quia",
    "paginate": 4.393804,
    "sort_by": "dolores",
    "requestItem": 18183749.892138,
    "requestItemType": "sit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-sort-product-by-type'
payload = {
    "filterDataFromCat": "quia",
    "paginate": 4.393804,
    "sort_by": "dolores",
    "requestItem": 18183749.892138,
    "requestItemType": "sit"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "data": [
        {
            "id": 2,
            "user_id": 4,
            "product_id": 4,
            "tax": 5,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "0",
            "discount_start_date": "05/25/2021",
            "discount_end_date": "06/30/2021",
            "product_name": "Xiaomi MI 5X",
            "slug": "xiaomi-mi-5x-4",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 200,
            "max_sell_price": 220,
            "total_sale": 3,
            "avg_rating": 4.03,
            "recent_view": "2021-06-10 13:42:23",
            "created_at": "2021-05-29T10:25:59.000000Z",
            "updated_at": "2021-06-10T07:42:23.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "4GB-32GB",
                        "4GB-64GB"
                    ],
                    "code": [
                        "4GB-32GB",
                        "4GB-64GB"
                    ],
                    "attr_val_id": [
                        13,
                        14
                    ],
                    "name": "Storage",
                    "attr_id": 3
                },
                {
                    "value": [
                        "Black",
                        "Red",
                        "Gold"
                    ],
                    "code": [
                        "black",
                        "#f40c0c",
                        "#fff2cc"
                    ],
                    "attr_val_id": [
                        5,
                        6,
                        12
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 220,
            "hasDeal": {
                "id": 1,
                "flash_deal_id": 1,
                "seller_product_id": 2,
                "discount": 20,
                "discount_type": 0,
                "status": 1,
                "created_at": "2021-06-01T12:56:18.000000Z",
                "updated_at": "2021-06-02T10:36:20.000000Z"
            },
            "rating": 0,
            "skus": [],
            "reviews": []
        }
    ],
    "links": {
        "first": "http://ecommerce.test/api/seller/product/filter/filter-sort-product-by-type?page=1",
        "last": "http://ecommerce.test/api/seller/product/filter/filter-sort-product-by-type?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/filter-sort-product-by-type?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://ecommerce.test/api/seller/product/filter/filter-sort-product-by-type",
        "per_page": "16",
        "to": 1,
        "total": 1
    }
}
 

Request   

POST api/seller/product/filter/filter-sort-product-by-type

Body Parameters

filterDataFromCat  required optional  

"filterDataFromCat" : { "requestItemType" : "category", "requestItem" : "2", "filterType" : [{ "filterTypeId" : "2", "filterTypeValue" : [6] }] }, "paginate" : "16", "sort_by" : "new", "requestItemType" : "category", "requestItem" : "2"

paginate  number  

"10"

sort_by  string  

"new"

requestItem  number  

"6"

requestItemType  string  

"category"

Filter product By Type than paginate

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-page-by-type',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'bodydata' => 'enim',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-page-by-type"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "bodydata": "enim"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/filter/filter-product-page-by-type'
payload = {
    "bodydata": "enim"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Request   

POST api/seller/product/filter/filter-product-page-by-type

Body Parameters

bodydata  required optional  

"filterDataFromCat" : { "requestItemType" : "category", "requestItem" : "2", "filterType" : [{ "filterTypeId" : "2", "filterTypeValue" : [6] }] }, "paginate" : "16", "sort_by" : "new", "requestItemType" : "category", "requestItem" : "2", "page" : "2"

Filter Product From Main Category Page

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/product/filter/category-filter-product',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/filter/category-filter-product"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/filter/category-filter-product'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Request   

POST api/seller/product/filter/category-filter-product

Fetch Product From Main Category Page

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller/product/filter/fetch-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/product/filter/fetch-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/product/filter/fetch-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 57
access-control-allow-origin: *
 

{
    "data": [
        {
            "id": 137,
            "user_id": 1,
            "product_id": 124,
            "tax": 0,
            "tax_type": null,
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": {
                "en": "test vaiant product 77",
                "cts": "test vaiant product 77",
                "bn": "test vaiant product 77",
                "ay": "test vaiant product 77",
                "ar": "test vaiant product 77"
            },
            "slug": "test-vaiant-product-77",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 110,
            "total_sale": 0,
            "avg_rating": 0,
            "recent_view": "2022-10-28 18:47:09",
            "subtitle_1": {
                "ar": null
            },
            "subtitle_2": {
                "ar": null
            },
            "created_at": "2022-10-24T07:47:14.000000Z",
            "updated_at": "2022-10-28T12:47:10.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "chpt-1",
                        "chpt-2"
                    ],
                    "code": [
                        "chpt-1",
                        "chpt-2"
                    ],
                    "attr_val_id": [
                        58,
                        59
                    ],
                    "name": "Chapter",
                    "attr_id": 14
                }
            ],
            "MaxSellingPrice": 110,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 274,
                    "user_id": 1,
                    "product_id": 137,
                    "product_sku_id": "231",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-10-28T12:46:45.000000Z",
                    "updated_at": "2022-10-28T12:46:45.000000Z",
                    "product_variations": [
                        {
                            "id": 182,
                            "product_id": 124,
                            "product_sku_id": 231,
                            "attribute_id": 14,
                            "attribute_value_id": 58,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2022-10-28T12:46:45.000000Z",
                            "updated_at": "2022-10-28T12:46:45.000000Z",
                            "attribute_value": {
                                "id": 58,
                                "value": "chpt-1",
                                "attribute_id": 14,
                                "created_at": "2022-10-10T13:17:37.000000Z",
                                "updated_at": null,
                                "color": null
                            },
                            "attribute": {
                                "id": 14,
                                "name": null,
                                "display_type": null,
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": null,
                                "created_at": "2022-10-10T13:17:37.000000Z",
                                "updated_at": "2022-10-10T13:17:37.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 275,
                    "user_id": 1,
                    "product_id": 137,
                    "product_sku_id": "232",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 110,
                    "status": 1,
                    "created_at": "2022-10-28T12:46:45.000000Z",
                    "updated_at": "2022-10-28T12:46:45.000000Z",
                    "product_variations": [
                        {
                            "id": 183,
                            "product_id": 124,
                            "product_sku_id": 232,
                            "attribute_id": 14,
                            "attribute_value_id": 59,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2022-10-28T12:46:45.000000Z",
                            "updated_at": "2022-10-28T12:46:45.000000Z",
                            "attribute": {
                                "id": 14,
                                "name": null,
                                "display_type": null,
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": null,
                                "created_at": "2022-10-10T13:17:37.000000Z",
                                "updated_at": "2022-10-10T13:17:37.000000Z"
                            },
                            "attribute_value": {
                                "id": 59,
                                "value": "chpt-2",
                                "attribute_id": 14,
                                "created_at": "2022-10-10T13:17:37.000000Z",
                                "updated_at": null,
                                "color": null
                            }
                        }
                    ]
                }
            ],
            "product": {
                "id": 124,
                "product_name": {
                    "en": "test vaiant product 77",
                    "cts": "test vaiant product 77",
                    "bn": "test vaiant product 77",
                    "ay": "test vaiant product 77",
                    "ar": "test vaiant product 77"
                },
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 4,
                "thumbnail_image_source": "uploads/images/24-10-2022/6356430254f59.jpeg",
                "media_ids": "163",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": "new",
                "model_number": "43534",
                "shipping_type": 1,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": {
                    "en": "test",
                    "cts": "test",
                    "bn": "test",
                    "ay": "test",
                    "ar": "test"
                },
                "specification": {
                    "en": "test",
                    "cts": "test",
                    "bn": "test",
                    "ay": "test",
                    "ar": "test"
                },
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": {
                    "ar": null
                },
                "meta_description": {
                    "ar": null
                },
                "meta_image": null,
                "is_physical": 0,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "test-vaiant-product-77",
                "stock_manage": 0,
                "subtitle_1": {
                    "ar": null
                },
                "subtitle_2": {
                    "ar": null
                },
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-10-24T07:47:14.000000Z",
                "updated_at": "2022-10-28T12:46:45.000000Z",
                "translateProductName": "{\"en\":\"test vaiant product 77\",\"cts\":\"test vaiant product 77\",\"bn\":\"test vaiant product 77\",\"ay\":\"test vaiant product 77\",\"ar\":\"test vaiant product 77\"}",
                "TranslateProductSubtitle1": "{\"ar\":null}",
                "TranslateProductSubtitle2": "{\"ar\":null}"
            },
            "reviews": []
        },
        {
            "id": 135,
            "user_id": 1,
            "product_id": 122,
            "tax": 0,
            "tax_type": null,
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "there-are-many-variations-of-passages-of-lorem-ipsum-available-but-the-majority-have-suffered-alteration-in-some-form-by-injected-humour-or-randomised-words-which-don-t-look",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 0,
            "avg_rating": 0,
            "recent_view": "2022-10-26 12:19:28",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-08-12T05:26:03.000000Z",
            "updated_at": "2022-10-26T06:19:28.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 100,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 260,
                    "user_id": 1,
                    "product_id": 135,
                    "product_sku_id": "217",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-08-12T05:26:03.000000Z",
                    "updated_at": "2022-08-12T05:26:03.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 122,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 2,
                "brand_id": 1,
                "thumbnail_image_source": null,
                "media_ids": "",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "there-are-many-variations-of-passages-of-lorem-ipsum-available-but-the-majority-have-suffered-alteration-in-some-form-by-injected-humour-or-randomised-words-which-don-t-look",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-08-12T05:26:03.000000Z",
                "updated_at": "2022-08-16T09:16:00.000000Z",
                "translateProductName": "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        },
        {
            "id": 134,
            "user_id": 1,
            "product_id": 120,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "test-jskdjf8979-834834-2208013913",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 200,
            "max_sell_price": 200,
            "total_sale": 0,
            "avg_rating": 0,
            "recent_view": "2022-08-16 15:43:22",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-08-05T09:01:54.000000Z",
            "updated_at": "2022-08-16T09:43:22.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 200,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 259,
                    "user_id": 1,
                    "product_id": 134,
                    "product_sku_id": "212",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 200,
                    "status": 1,
                    "created_at": "2022-08-05T09:01:54.000000Z",
                    "updated_at": "2022-08-05T09:01:54.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 120,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 2,
                "thumbnail_image_source": null,
                "media_ids": null,
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "test-jskdjf8979-834834-2208013913",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": null,
                "created_at": "2022-08-05T09:01:54.000000Z",
                "updated_at": "2022-08-05T09:01:54.000000Z",
                "translateProductName": "test jskdjf8979 834834-2208013913",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        },
        {
            "id": 132,
            "user_id": 1,
            "product_id": 118,
            "tax": 0,
            "tax_type": null,
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "test-jskdjf8979-834834",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 200,
            "max_sell_price": 200,
            "total_sale": 2,
            "avg_rating": 0,
            "recent_view": "2022-08-10 13:14:39",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-08-05T05:14:42.000000Z",
            "updated_at": "2022-09-22T13:17:04.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 200,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 257,
                    "user_id": 1,
                    "product_id": 132,
                    "product_sku_id": "210",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 200,
                    "status": 1,
                    "created_at": "2022-08-05T05:14:42.000000Z",
                    "updated_at": "2022-08-05T05:14:42.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 118,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 2,
                "thumbnail_image_source": "uploads/images/05-08-2022/62ecc0218a2f2.webp",
                "media_ids": "168,169",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": "uploads/images/05-08-2022/62ece6823d5e8.webp",
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "test-jskdjf8979-834834",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-08-05T05:14:42.000000Z",
                "updated_at": "2022-08-05T09:44:34.000000Z",
                "translateProductName": "test jskdjf8979 834834",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        },
        {
            "id": 131,
            "user_id": 1,
            "product_id": 115,
            "tax": 0,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "variant-product-with-whole-sale",
            "thum_img": null,
            "status": 1,
            "stock_manage": 1,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 120,
            "total_sale": 5,
            "avg_rating": 0,
            "recent_view": "2022-10-27 16:46:53",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-07-18T11:33:10.000000Z",
            "updated_at": "2022-10-27T10:50:29.000000Z",
            "variantDetails": [
                {
                    "value": [
                        "Black",
                        "Red"
                    ],
                    "code": [
                        "black",
                        "red"
                    ],
                    "attr_val_id": [
                        1,
                        2
                    ],
                    "name": "Color",
                    "attr_id": 1
                }
            ],
            "MaxSellingPrice": 120,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 255,
                    "user_id": 1,
                    "product_id": 131,
                    "product_sku_id": "208",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-07-18T11:33:10.000000Z",
                    "updated_at": "2022-08-09T06:49:09.000000Z",
                    "product_variations": [
                        {
                            "id": 165,
                            "product_id": 115,
                            "product_sku_id": 208,
                            "attribute_id": 1,
                            "attribute_value_id": 1,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2022-07-18T11:33:10.000000Z",
                            "updated_at": "2022-07-18T11:33:10.000000Z",
                            "attribute_value": {
                                "id": 1,
                                "value": "black",
                                "attribute_id": 1,
                                "created_at": "2021-09-25T18:32:57.000000Z",
                                "updated_at": "2021-09-25T18:32:57.000000Z",
                                "color": {
                                    "id": 1,
                                    "attribute_value_id": 1,
                                    "name": "Black",
                                    "created_at": "2021-09-25T18:32:58.000000Z",
                                    "updated_at": "2021-09-25T18:32:58.000000Z"
                                }
                            },
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            }
                        }
                    ]
                },
                {
                    "id": 256,
                    "user_id": 1,
                    "product_id": 131,
                    "product_sku_id": "209",
                    "product_stock": 20,
                    "purchase_price": 0,
                    "selling_price": 120,
                    "status": 1,
                    "created_at": "2022-07-18T11:33:10.000000Z",
                    "updated_at": "2022-08-17T07:12:30.000000Z",
                    "product_variations": [
                        {
                            "id": 166,
                            "product_id": 115,
                            "product_sku_id": 209,
                            "attribute_id": 1,
                            "attribute_value_id": 2,
                            "created_by": null,
                            "updated_by": null,
                            "created_at": "2022-07-18T11:33:10.000000Z",
                            "updated_at": "2022-07-18T11:33:10.000000Z",
                            "attribute": {
                                "id": 1,
                                "name": null,
                                "display_type": "radio_button",
                                "description": null,
                                "status": 1,
                                "created_by": null,
                                "updated_by": 1,
                                "created_at": "2018-11-05T02:12:26.000000Z",
                                "updated_at": "2022-06-15T04:57:42.000000Z"
                            },
                            "attribute_value": {
                                "id": 2,
                                "value": "red",
                                "attribute_id": 1,
                                "created_at": "2021-09-25T18:32:57.000000Z",
                                "updated_at": "2021-09-25T18:32:57.000000Z",
                                "color": {
                                    "id": 2,
                                    "attribute_value_id": 2,
                                    "name": "Red",
                                    "created_at": "2021-09-25T18:32:58.000000Z",
                                    "updated_at": "2021-09-25T18:32:58.000000Z"
                                }
                            }
                        }
                    ]
                }
            ],
            "product": {
                "id": 115,
                "product_name": null,
                "product_type": 2,
                "unit_type_id": 1,
                "brand_id": 6,
                "thumbnail_image_source": "uploads/images/18-07-2022/62d544f663751.jpeg",
                "media_ids": "131,130",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 5,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "variant-product-with-whole-sale",
                "stock_manage": 1,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-07-18T11:33:10.000000Z",
                "updated_at": "2022-08-17T14:59:45.000000Z",
                "translateProductName": "variant product with whole sale",
                "TranslateProductSubtitle1": "subtitle 1",
                "TranslateProductSubtitle2": "subtitle 2"
            },
            "reviews": []
        },
        {
            "id": 130,
            "user_id": 1,
            "product_id": 114,
            "tax": 0,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "test-product-with-whole-sale",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 19,
            "avg_rating": 0,
            "recent_view": "2022-10-28 11:37:11",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-07-18T05:52:00.000000Z",
            "updated_at": "2022-10-28T05:37:11.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 100,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 254,
                    "user_id": 1,
                    "product_id": 130,
                    "product_sku_id": "207",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-07-18T05:52:00.000000Z",
                    "updated_at": "2022-07-18T05:52:00.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 114,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 5,
                "thumbnail_image_source": "uploads/images/18-07-2022/62d4f50090033.png",
                "media_ids": "170",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": "2345465",
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 5,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "test-product-with-whole-sale",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": null,
                "making_charge": 0,
                "updated_by": null,
                "created_at": "2022-07-18T05:52:00.000000Z",
                "updated_at": "2022-07-18T05:52:00.000000Z",
                "translateProductName": "test product with whole sale",
                "TranslateProductSubtitle1": "subtitle 1",
                "TranslateProductSubtitle2": "subtitle 2"
            },
            "reviews": []
        },
        {
            "id": 129,
            "user_id": 37,
            "product_id": 113,
            "tax": 0,
            "tax_type": "0",
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "new-chair-for-bedroom-2022",
            "thum_img": "uploads/images/08-08-2022/62f0c0f3e0790.jpeg",
            "status": 1,
            "stock_manage": 0,
            "is_approved": 0,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 5,
            "avg_rating": 0,
            "recent_view": "2022-10-25 19:57:05",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-06-20T13:56:26.000000Z",
            "updated_at": "2022-10-25T13:57:05.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 100,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 253,
                    "user_id": 37,
                    "product_id": 129,
                    "product_sku_id": "206",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-06-20T13:56:26.000000Z",
                    "updated_at": "2022-06-20T13:56:26.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 113,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 7,
                "thumbnail_image_source": "uploads/images/08-06-2022/62a03944cc4a7.png",
                "media_ids": "130,131,129,128",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": "https://www.youtube.com/watch?v=bVQ2V7y3plc",
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "new-chair-for-bedroom-2022",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 1,
                "gold_price_id": 1,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-06-08T05:53:09.000000Z",
                "updated_at": "2022-06-13T14:03:55.000000Z",
                "translateProductName": "New chair for bedroom 2022",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        },
        {
            "id": 128,
            "user_id": 1,
            "product_id": 113,
            "tax": 0,
            "tax_type": "0",
            "discount": 5,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "new-chair-for-bedroom-2022",
            "thum_img": null,
            "status": 1,
            "stock_manage": 0,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 3,
            "avg_rating": 0,
            "recent_view": "2022-10-27 15:31:54",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-06-08T05:53:09.000000Z",
            "updated_at": "2022-10-27T09:31:54.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 100,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "yes",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 252,
                    "user_id": 1,
                    "product_id": 128,
                    "product_sku_id": "206",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-06-08T05:53:09.000000Z",
                    "updated_at": "2022-08-17T12:48:35.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 113,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 1,
                "brand_id": 7,
                "thumbnail_image_source": "uploads/images/08-06-2022/62a03944cc4a7.png",
                "media_ids": "130,131,129,128",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": "https://www.youtube.com/watch?v=bVQ2V7y3plc",
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "new-chair-for-bedroom-2022",
                "stock_manage": 0,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 1,
                "gold_price_id": 1,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-06-08T05:53:09.000000Z",
                "updated_at": "2022-06-13T14:03:55.000000Z",
                "translateProductName": "New chair for bedroom 2022",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        },
        {
            "id": 127,
            "user_id": 1,
            "product_id": 112,
            "tax": 0,
            "tax_type": null,
            "discount": 0,
            "discount_type": "1",
            "discount_start_date": null,
            "discount_end_date": null,
            "product_name": null,
            "slug": "pearl-earring-3",
            "thum_img": null,
            "status": 1,
            "stock_manage": 1,
            "is_approved": 1,
            "min_sell_price": 100,
            "max_sell_price": 100,
            "total_sale": 0,
            "avg_rating": 0,
            "recent_view": "2022-05-27 10:36:10",
            "subtitle_1": null,
            "subtitle_2": null,
            "created_at": "2022-05-27T04:36:10.000000Z",
            "updated_at": "2022-05-27T04:36:56.000000Z",
            "variantDetails": [],
            "MaxSellingPrice": 100,
            "hasDeal": 0,
            "rating": 0,
            "hasDiscount": "no",
            "ProductType": "product",
            "flash_deal": null,
            "skus": [
                {
                    "id": 251,
                    "user_id": 1,
                    "product_id": 127,
                    "product_sku_id": "205",
                    "product_stock": 0,
                    "purchase_price": 0,
                    "selling_price": 100,
                    "status": 1,
                    "created_at": "2022-05-27T04:36:11.000000Z",
                    "updated_at": "2022-05-27T04:36:11.000000Z",
                    "product_variations": []
                }
            ],
            "product": {
                "id": 112,
                "product_name": null,
                "product_type": 1,
                "unit_type_id": 2,
                "brand_id": 2,
                "thumbnail_image_source": "uploads/images/27-05-2022/6290553ad6235.png",
                "media_ids": "122",
                "barcode_type": "C39",
                "mpn": null,
                "gtin": null,
                "condition": null,
                "model_number": null,
                "shipping_type": 0,
                "shipping_cost": 0,
                "discount_type": "1",
                "discount": 0,
                "tax_type": null,
                "gst_group_id": null,
                "tax": 0,
                "pdf": null,
                "video_provider": "youtube",
                "video_link": null,
                "description": null,
                "specification": null,
                "minimum_order_qty": 1,
                "max_order_qty": null,
                "meta_title": null,
                "meta_description": null,
                "meta_image": null,
                "is_physical": 1,
                "is_approved": 1,
                "status": 1,
                "display_in_details": 1,
                "requested_by": 1,
                "created_by": 1,
                "slug": "pearl-earring-3",
                "stock_manage": 1,
                "subtitle_1": null,
                "subtitle_2": null,
                "auto_update": 0,
                "gold_price_id": 1,
                "making_charge": 0,
                "updated_by": 1,
                "created_at": "2022-05-27T04:36:10.000000Z",
                "updated_at": "2022-05-27T04:36:56.000000Z",
                "translateProductName": "Pearl Earring",
                "TranslateProductSubtitle1": null,
                "TranslateProductSubtitle2": null
            },
            "reviews": []
        }
    ],
    "links": {
        "first": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=1",
        "last": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=10",
        "prev": null,
        "next": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 10,
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=7",
                "label": "7",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=8",
                "label": "8",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=9",
                "label": "9",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=10",
                "label": "10",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/seller/product/filter/fetch-data?page=2",
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "path": "http://ecommerce.test/api/seller/product/filter/fetch-data",
        "per_page": 9,
        "to": 9,
        "total": 86
    }
}
 

Request   

GET api/seller/product/filter/fetch-data

Refund & Despotes

APIs for Refund & Despotes

Refund Reason

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/refund/reason-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/refund/reason-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/refund/reason-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "reasons": [
        {
            "id": 5,
            "reason": "Problematic Product.",
            "created_at": "2021-08-14T11:02:52.000000Z",
            "updated_at": "2021-08-14T11:02:52.000000Z"
        },
        {
            "id": 4,
            "reason": "Choose another product.",
            "created_at": "2021-08-14T11:02:18.000000Z",
            "updated_at": "2021-08-14T11:02:18.000000Z"
        },
        {
            "id": 3,
            "reason": "Change Of mind.",
            "created_at": "2021-08-14T11:02:02.000000Z",
            "updated_at": "2021-08-14T11:02:02.000000Z"
        }
    ],
    "measege": "success"
}
 

Request   

GET api/refund/reason-list

Single Refund Reason

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/refund/reason/impedit',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/refund/reason/impedit"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/refund/reason/impedit'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "reason": {
        "id": 1,
        "reason": "Duplicate Product.",
        "created_at": "2021-08-14T11:01:34.000000Z",
        "updated_at": "2021-08-14T11:01:34.000000Z"
    },
    "message": "success"
}
 

Request   

GET api/refund/reason/{id}

URL Parameters

id  string  

The ID of the reason.

Process List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/refund/process-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/refund/process-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/refund/process-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "processes": [
          {
              "id": 1,
              "name": "Pending",
              "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical
              Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
              "created_at": "2021-08-14T11:31:17.000000Z",
              "updated_at": "2021-08-14T11:31:17.000000Z"
          },
          {
              "id": 2,
              "name": "Processing",
              "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin
               literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
              "created_at": "2021-08-14T11:31:33.000000Z",
              "updated_at": "2021-08-14T11:31:33.000000Z"
          },
          {
              "id": 3,
              "name": "Receive",
              "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from
              45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
              "created_at": "2021-08-14T11:31:47.000000Z",
              "updated_at": "2021-08-14T11:31:47.000000Z"
          },
          {
              "id": 4,
              "name": "Shipping",
              "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC,
               making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
              "created_at": "2021-08-14T11:32:08.000000Z",
              "updated_at": "2021-08-14T11:32:08.000000Z"
          },
          {
              "id": 5,
              "name": "Delivered",
              "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC,
               making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
              "created_at": "2021-08-14T11:32:23.000000Z",
              "updated_at": "2021-08-14T11:32:23.000000Z"
          }
      ],
      "measege": "success"
}
 

Request   

GET api/refund/process-list

Single Process

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/refund/process/quia',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/refund/process/quia"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/refund/process/quia'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "process": {
        "id": 1,
        "name": "Pending",
        "description": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one",
        "created_at": "2021-08-14T11:31:17.000000Z",
        "updated_at": "2021-08-14T11:31:17.000000Z"
    },
    "message": "success"
}
 

Request   

GET api/refund/process/{id}

URL Parameters

id  string  

The ID of the process.

Seller Profile

APIs for customer Order

Seller List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "sellers": {
      "current_page": 3,
      "data": [
          {
              "id": 7,
              "first_name": "Amazcart Ltd",
              "last_name": null,
              "avatar": "uploads/images/12-08-2021/61151df87d722.jpeg",
              "phone": null,
              "date_of_birth": "01/01/1970",
              "seller_products": [

                  product info ...
              ],
              "seller_reviews": [],
              "seller_account": {
                  seller account info ...
              },
              "seller_business_information": {
                  business account info ...
              }
          }
      ],
      "first_page_url": "http://ecommerce.test/api/seller-list?page=1",
      "from": 3,
      "last_page": 9,
      "last_page_url": "http://ecommerce.test/api/seller-list?page=9",
      "links": [
          {
              "url": "http://ecommerce.test/api/seller-list?page=2",
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=1",
              "label": "1",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=2",
              "label": "2",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=3",
              "label": "3",
              "active": true
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=4",
              "label": "4",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=5",
              "label": "5",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=6",
              "label": "6",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=7",
              "label": "7",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=8",
              "label": "8",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=9",
              "label": "9",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller-list?page=4",
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": "http://ecommerce.test/api/seller-list?page=4",
      "path": "http://ecommerce.test/api/seller-list",
      "per_page": 1,
      "prev_page_url": "http://ecommerce.test/api/seller-list?page=2",
      "to": 3,
      "total": 9
  },
  "mesage": "success"
}
 

Request   

GET api/seller-list

Single Seller

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/seller-profile/15',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller-profile/15"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller-profile/15'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "seller": {
      "id": 7,
      "first_name": "Amazcart Ltd",
      "last_name": null,
      "avatar": "uploads/images/12-08-2021/61151df87d722.jpeg",
      "phone": null,
      "date_of_birth": "01/01/1970",
      "seller_products": [
          {
              "id": 1,
              "user_id": 7,
              "product_id": 2,
              "tax": 10,
              "tax_type": "0",
              "discount": 0,
              "discount_type": "1",
              "discount_start_date": null,
              "discount_end_date": null,
              "product_name": "Exclusive MI 5x",
              "slug": "exclusive-mi-5x-7",
              "thum_img": "uploads/images/09-08-2021/6110aca709597.jpeg",
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 160,
              "max_sell_price": 190,
              "total_sale": 1,
              "avg_rating": 0,
              "recent_view": "2021-08-15 16:30:02",
              "created_at": "2021-08-09T04:18:47.000000Z",
              "updated_at": "2021-08-15T10:30:02.000000Z",
              "variantDetails": [
                  variant info...
              ],
              "MaxSellingPrice": 190,
              "hasDeal": {
                  "id": 1,
                  "flash_deal_id": 1,
                  "seller_product_id": 1,
                  "discount": 5,
                  "discount_type": 0,
                  "status": 1,
                  "created_at": "2021-08-11T06:59:06.000000Z",
                  "updated_at": "2021-08-11T06:59:06.000000Z"
              },
              "rating": 0,
              "product": {
                  product info...
              },
              "skus": [
                  sku list ...
              ],
              "reviews": []
          }
      ],
      "seller_reviews": [],
      "seller_account": {
          "id": 4,
          "user_id": 7,
          "seller_commission_id": 1,
          "commission_rate": 0,
          "seller_id": "BDEXCJ6590091",
          "banner": null,
          "subscription_type": "2",
          "seller_phone": "231656565896",
          "seller_shop_display_name": "Amazcart",
          "holiday_mode": 0,
          "holiday_type": null,
          "holiday_date": null,
          "holiday_date_start": null,
          "holiday_date_end": null,
          "is_trusted": 0,
          "total_sale_qty": 1,
          "created_at": "2021-08-08T04:34:08.000000Z",
          "updated_at": "2021-08-14T11:42:36.000000Z"
      },
      "seller_business_information": {
          "id": 3,
          "user_id": 7,
          "business_owner_name": null,
          "business_address1": null,
          "business_address2": null,
          "business_country": null,
          "business_state": null,
          "business_city": null,
          "business_postcode": null,
          "business_person_in_charge_name": null,
          "business_registration_number": null,
          "business_document": null,
          "business_seller_tin": null,
          "created_at": "2021-08-08T04:34:08.000000Z",
          "updated_at": "2021-08-08T04:34:08.000000Z",
          "claim_gst": 0,
          "country": null,
          "state": null,
          "city": null
      }
  },
  "categoryList": [
      related category list ...
  ],
  "brandList": [
      related brand list ....
  ],
  "lowestPrice": 160,
  "heightPrice": 600,
  "message": "success"
}
 

Request   

GET api/seller-profile/{id}

URL Parameters

id  integer  

seller_id

Filter From Seller

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/filter-by-type',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'filterType' => 'occaecati',
            'seller_id' => 7,
            'paginate' => 7,
            'sort_by' => 'reprehenderit',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/filter-by-type"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "filterType": "occaecati",
    "seller_id": 7,
    "paginate": 7,
    "sort_by": "reprehenderit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/filter-by-type'
payload = {
    "filterType": "occaecati",
    "seller_id": 7,
    "paginate": 7,
    "sort_by": "reprehenderit"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
     "products": {
      "current_page": 1,
      "data": [
          {
              "id": 1,
              "user_id": 7,
              "product_id": 2,
              "tax": 10,
              "tax_type": "0",
              "discount": 0,
              "discount_type": "1",
              "discount_start_date": null,
              "discount_end_date": null,
              "product_name": "Exclusive MI 5x",
              "slug": "exclusive-mi-5x-7",
              "thum_img": "uploads/images/09-08-2021/6110aca709597.jpeg",
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 160,
              "max_sell_price": 190,
              "total_sale": 1,
              "avg_rating": 0,
              "recent_view": "2021-08-15 16:30:02",
              "created_at": "2021-08-09T04:18:47.000000Z",
              "updated_at": "2021-08-15T10:30:02.000000Z",
              "variantDetails": [
                  {
                      "value": [
                          "4GB-32GB",
                          "4GB-64GB"
                      ],
                      "code": [
                          "4GB-32GB",
                          "4GB-64GB"
                      ],
                      "attr_val_id": [
                          14,
                          15
                      ],
                      "name": "Storage",
                      "attr_id": 3
                  },
                  {
                      "value": [
                          "Black",
                          "Red",
                          "Golden"
                      ],
                      "code": [
                          "black",
                          "red",
                          "#fce5cd"
                      ],
                      "attr_val_id": [
                          1,
                          2,
                          10
                      ],
                      "name": "Color",
                      "attr_id": 1
                  }
              ],
              "MaxSellingPrice": 190,
              "hasDeal": {
                  "id": 1,
                  "flash_deal_id": 1,
                  "seller_product_id": 1,
                  "discount": 5,
                  "discount_type": 0,
                  "status": 1,
                  "created_at": "2021-08-11T06:59:06.000000Z",
                  "updated_at": "2021-08-11T06:59:06.000000Z"
              },
              "rating": 0,
              "skus": [
                  skus list ...
              ],
              "product": {
                  product info ....

              },
              "reviews": []
          }
      ],
      "first_page_url": "http://ecommerce.test/api/seller/filter-by-type?page=1",
      "from": 1,
      "last_page": 1,
      "last_page_url": "http://ecommerce.test/api/seller/filter-by-type?page=1",
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller/filter-by-type?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": null,
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": null,
      "path": "http://ecommerce.test/api/seller/filter-by-type",
      "per_page": "10",
      "prev_page_url": null,
      "to": 1,
      "total": 1
  },
  "message": "success"
}
 

Request   

POST api/seller/filter-by-type

Body Parameters

filterType  string  

"filterType" :[{"filterTypeId" : "brand","filterTypeValue" : [1]},{"filterTypeId" : "3","filterTypeValue" : [13]}

seller_id  integer  

seller id

paginate  integer  

10

sort_by  string  

example: new, old

Sort After Filter * @bodyParam filterDataFromCat required "filterDataFromCat" : { "requestItemType" : "category", "requestItem" : "2", "filterType" : [{ "filterTypeId" : "2", "filterTypeValue" : [6] }] }, "paginate" : "16", "sort_by" : "new", "requestItemType" : "category", "requestItem" : "2"

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/seller/filter-by-type-after-sort',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/seller/filter-by-type-after-sort"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/seller/filter-by-type-after-sort'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):


{
     "products": {
     "current_page": 1,
     "data": [
          {
              "id": 1,
              "user_id": 7,
              "product_id": 2,
              "tax": 10,
              "tax_type": "0",
              "discount": 0,
              "discount_type": "1",
              "discount_start_date": null,
              "discount_end_date": null,
              "product_name": "Exclusive MI 5x",
              "slug": "exclusive-mi-5x-7",
              "thum_img": "uploads/images/09-08-2021/6110aca709597.jpeg",
              "status": 1,
              "stock_manage": 0,
              "is_approved": 0,
              "min_sell_price": 160,
              "max_sell_price": 190,
              "total_sale": 1,
              "avg_rating": 0,
              "recent_view": "2021-08-15 16:30:02",
              "created_at": "2021-08-09T04:18:47.000000Z",
              "updated_at": "2021-08-15T10:30:02.000000Z",
              "variantDetails": [
                  {
                      "value": [
                          "4GB-32GB",
                          "4GB-64GB"
                      ],
                      "code": [
                          "4GB-32GB",
                          "4GB-64GB"
                      ],
                      "attr_val_id": [
                          14,
                          15
                      ],
                      "name": "Storage",
                      "attr_id": 3
                  },
                  {
                      "value": [
                          "Black",
                          "Red",
                          "Golden"
                      ],
                      "code": [
                          "black",
                          "red",
                          "#fce5cd"
                      ],
                      "attr_val_id": [
                          1,
                          2,
                          10
                      ],
                      "name": "Color",
                      "attr_id": 1
                  }
              ],
              "MaxSellingPrice": 190,
              "hasDeal": {
                  "id": 1,
                  "flash_deal_id": 1,
                  "seller_product_id": 1,
                  "discount": 5,
                  "discount_type": 0,
                  "status": 1,
                  "created_at": "2021-08-11T06:59:06.000000Z",
                  "updated_at": "2021-08-11T06:59:06.000000Z"
              },
              "rating": 0,
              "skus": [
                  skus list ...
              ],
              "product": {
                  product info ....

              },
              "reviews": []
          }
      ],
      "first_page_url": "http://ecommerce.test/api/seller/filter-by-type-after-sort?page=1",
      "from": null,
      "last_page": 1,
      "last_page_url": "http://ecommerce.test/api/seller/filter-by-type-after-sort?page=1",
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/seller/filter-by-type-after-sort?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": null,
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": null,
      "path": "http://ecommerce.test/api/seller/filter-by-type-after-sort",
      "per_page": 6,
      "prev_page_url": null,
      "to": null,
      "total": 0
  },
  "message": "success"
}
 

Request   

POST api/seller/filter-by-type-after-sort

Shipping Methods

APIs for shipping methods

Shipping List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/shipping-lists',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/shipping-lists"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/shipping-lists'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "shippings": [
        {
            "id": 1,
            "method_name": "Email Delivery (within 24 Hours)",
            "logo": null,
            "phone": "25656895655",
            "shipment_time": "12-24 hrs",
            "cost": 0,
            "is_active": 1,
            "request_by_user": null,
            "is_approved": 1,
            "created_at": null,
            "updated_at": "2021-08-08T04:05:13.000000Z"
        },
        {
            "id": 2,
            "method_name": "Flat Rate",
            "logo": null,
            "phone": "5466523263565",
            "shipment_time": "3-5 days",
            "cost": 20,
            "is_active": 1,
            "request_by_user": null,
            "is_approved": 1,
            "created_at": null,
            "updated_at": "2021-08-08T04:05:46.000000Z"
        },
        {
            "id": 3,
            "method_name": "Free Shipping",
            "logo": null,
            "phone": "56563565656",
            "shipment_time": "8-12 days",
            "cost": 0,
            "is_active": 1,
            "request_by_user": null,
            "is_approved": 1,
            "created_at": "2021-08-08T04:18:37.000000Z",
            "updated_at": "2021-08-08T04:18:37.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/shipping-lists

Support Ticket

APIs for support ticket

Ticket List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/ticket-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "tickets": {
        "current_page": 1,
        "data": [
            {
                "id": 5,
                "reference_no": "124612",
                "subject": "test ticket 222",
                "description": "descriptiuon",
                "category_id": 3,
                "priority_id": 2,
                "user_id": 4,
                "refer_id": null,
                "status_id": 1,
                "created_at": "2021-09-14T04:43:32.000000Z",
                "updated_at": "2021-09-14T07:19:07.000000Z"
            },
            {
                "id": 7,
                "reference_no": "TIC781078",
                "subject": "hello test 21",
                "description": "<p>testjhsakjkajskd</p>",
                "category_id": 2,
                "priority_id": 2,
                "user_id": 4,
                "refer_id": null,
                "status_id": 1,
                "created_at": "2021-09-20T09:44:38.000000Z",
                "updated_at": "2021-09-20T09:44:38.000000Z"
            }
        ],
        "first_page_url": "http://ecommerce.test/api/ticket-list?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://ecommerce.test/api/ticket-list?page=1",
        "links": [
            {
                "url": null,
                "label": "&laquo; Previous",
                "active": false
            },
            {
                "url": "http://ecommerce.test/api/ticket-list?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next &raquo;",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://ecommerce.test/api/ticket-list",
        "per_page": 10,
        "prev_page_url": null,
        "to": 2,
        "total": 2
    },
    "statuses": [
        {
            "id": 1,
            "name": "Pending",
            "isActive": 0,
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        },
        {
            "id": 2,
            "name": "On Going",
            "isActive": 0,
            "status": 1,
            "created_at": "2021-08-08T04:03:55.000000Z",
            "updated_at": "2021-08-08T04:03:55.000000Z"
        },
        {
            "id": 3,
            "name": "Completed",
            "isActive": 0,
            "status": 1,
            "created_at": "2021-08-08T04:03:55.000000Z",
            "updated_at": "2021-08-08T04:03:55.000000Z"
        },
        {
            "id": 4,
            "name": "Closed",
            "isActive": 0,
            "status": 1,
            "created_at": "2021-08-08T04:03:55.000000Z",
            "updated_at": "2021-08-08T04:03:55.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/ticket-list

Get Ticket with paginate

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/ticket-list-get-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket-list-get-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket-list-get-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
      "tickets": {
          "current_page": 1,
          "data": [
              {
                  "id": 5,
                  "reference_no": "124612",
                  "subject": "test ticket 222",
                  "description": "<h2 style=\"margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding: 0px; font-weight: 400; font-family: DauphinPlain; font-size: 24px; line-height: 24px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">What is Lorem Ipsum?</h2><p style=\"margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding: 0px; text-align: justify; color: rgb(0, 0, 0); font-family: &quot;Open Sans&quot;, Arial, sans-serif; background-color: rgb(255, 255, 255);\"><strong style=\"margin: 0px; padding: 0px;\">Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>",
                  "category_id": 3,
                  "priority_id": 2,
                  "user_id": 4,
                  "refer_id": null,
                  "status_id": 1,
                  "created_at": "2021-09-14T04:43:32.000000Z",
                  "updated_at": "2021-09-14T07:19:07.000000Z"
              },
              {
                  "id": 7,
                  "reference_no": "TIC781078",
                  "subject": "hello test 21",
                  "description": "<p>testjhsakjkajskd</p>",
                  "category_id": 2,
                  "priority_id": 2,
                  "user_id": 4,
                  "refer_id": null,
                  "status_id": 1,
                  "created_at": "2021-09-20T09:44:38.000000Z",
                  "updated_at": "2021-09-20T09:44:38.000000Z"
              }
          ],
          "first_page_url": "http://ecommerce.test/api/ticket-list-get-data?page=1",
          "from": 1,
          "last_page": 1,
          "last_page_url": "http://ecommerce.test/api/ticket-list-get-data?page=1",
          "links": [
              {
                  "url": null,
                  "label": "&laquo; Previous",
                  "active": false
              },
              {
                  "url": "http://ecommerce.test/api/ticket-list-get-data?page=1",
                  "label": "1",
                  "active": true
              },
              {
                  "url": null,
                  "label": "Next &raquo;",
                  "active": false
              }
          ],
          "next_page_url": null,
          "path": "http://ecommerce.test/api/ticket-list-get-data",
          "per_page": 10,
          "prev_page_url": null,
          "to": 2,
          "total": 2
      },
      "statuses": [
          status list
      ],
      "msg": "success"
}
 

Request   

GET api/ticket-list-get-data

URL Parameters

status  integer  

id of status

page  integer  

page number

Ticket Store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/ticket-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'subject' => 'aliquam',
            'ticket_file' => 'expedita',
            'category_id' => 4,
            'priority_id' => 15,
            'description' => 'provident',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "subject": "aliquam",
    "ticket_file": "expedita",
    "category_id": 4,
    "priority_id": 15,
    "description": "provident"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket-store'
payload = {
    "subject": "aliquam",
    "ticket_file": "expedita",
    "category_id": 4,
    "priority_id": 15,
    "description": "provident"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
 'msg' => 'created successfully'
}
 

Request   

POST api/ticket-store

Body Parameters

subject  string  

subject

ticket_file  string  

example: type array

category_id  integer  

example: 2

priority_id  integer  

example: 1

description  string  

ticket description

Single Ticket

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/ticket-show/cum',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket-show/cum"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket-show/cum'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "ticket": {
        "id": 7,
        "reference_no": "TIC781078",
        "subject": "hello test 21",
        "description": "<p>testjhsakjkajskd</p>",
        "category_id": 2,
        "priority_id": 2,
        "user_id": 4,
        "refer_id": null,
        "status_id": 1,
        "created_at": "2021-09-20T09:44:38.000000Z",
        "updated_at": "2021-09-20T09:44:38.000000Z"
    },
    "msg": "success"
}
 

Request   

GET api/ticket-show/{id}

URL Parameters

id  string  

The ID of the ticket show.

ticket_number  string  

example: TIC781078

Category List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/ticket/categories',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket/categories"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket/categories'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "categories": [
        {
            "id": 1,
            "name": "Installation",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        },
        {
            "id": 2,
            "name": "Technical",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        },
        {
            "id": 3,
            "name": "Others",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/ticket/categories

Priority List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/ticket/priorities',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket/priorities"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket/priorities'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "priorities": [
        {
            "id": 1,
            "name": "High",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        },
        {
            "id": 2,
            "name": "Medium",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        },
        {
            "id": 3,
            "name": "Low",
            "status": 1,
            "created_at": "2021-08-08T04:03:54.000000Z",
            "updated_at": "2021-08-08T04:03:54.000000Z"
        }
    ],
    "msg": "success"
}
 

Request   

GET api/ticket/priorities

Ticket Reply

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/ticket-show/reply',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'text' => 'et',
            'ticket_id' => 8,
            'ticket_file' => 'quisquam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/ticket-show/reply"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "text": "et",
    "ticket_id": 8,
    "ticket_file": "quisquam"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/ticket-show/reply'
payload = {
    "text": "et",
    "ticket_id": 8,
    "ticket_file": "quisquam"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
     'msg' => 'Reply done.'
}
 

Request   

POST api/ticket-show/reply

Body Parameters

text  string  

example: description

ticket_id  integer  

example: ticket id

ticket_file  string  

example: type array

Tags

APIs for Tags

Product tags

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/tag',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/tag"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/tag'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
   "tags": {
      "current_page": 1,
      "data": [
          {
              "id": 10,
              "tag": "walton",
              "created_at": "2021-08-10T12:46:01.000000Z",
              "updated_at": "2021-08-10T12:46:01.000000Z",
              "Products": {
                  "current_page": 1,
                  "data": [
                      info....
                  ],
                  "first_page_url": "http://ecommerce.test/api/product/tag?page=1",
                  "from": 1,
                  "last_page": 1,
                  "last_page_url": "http://ecommerce.test/api/product/tag?page=1",
                  "links": [
                      {
                          "url": null,
                          "label": "&laquo; Previous",
                          "active": false
                      },
                      {
                          "url": "http://ecommerce.test/api/product/tag?page=1",
                          "label": "1",
                          "active": true
                      },
                      {
                          "url": null,
                          "label": "Next &raquo;",
                          "active": false
                      }
                  ],
                  "next_page_url": null,
                  "path": "http://ecommerce.test/api/product/tag",
                  "per_page": 10,
                  "prev_page_url": null,
                  "to": 1,
                  "total": 1
              }
          },

      ],
      "first_page_url": "http://ecommerce.test/api/product/tag?page=1",
      "from": 1,
      "last_page": 2,
      "last_page_url": "http://ecommerce.test/api/product/tag?page=2",
      "links": [
          {
              "url": null,
              "label": "&laquo; Previous",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/product/tag?page=1",
              "label": "1",
              "active": true
          },
          {
              "url": "http://ecommerce.test/api/product/tag?page=2",
              "label": "2",
              "active": false
          },
          {
              "url": "http://ecommerce.test/api/product/tag?page=2",
              "label": "Next &raquo;",
              "active": false
          }
      ],
      "next_page_url": "http://ecommerce.test/api/product/tag?page=2",
      "path": "http://ecommerce.test/api/product/tag",
      "per_page": 10,
      "prev_page_url": null,
      "to": 10,
      "total": 13
  },
  "message": "success"

}
 

Request   

GET api/product/tag

Single Tag

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/product/tag/voluptatum',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/product/tag/voluptatum"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/product/tag/voluptatum'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
     "tags": {
      "id": 1,
      "tag": "ktm",
      "created_at": "2021-08-08T04:18:53.000000Z",
      "updated_at": "2021-08-08T04:18:53.000000Z",
      "Products": {
          "current_page": 1,
          "data": [
              product info....
          ],
          "first_page_url": "http://ecommerce.test/api/product/tag/ktm?page=1",
          "from": 1,
          "last_page": 1,
          "last_page_url": "http://ecommerce.test/api/product/tag/ktm?page=1",
          "links": [
              {
                  "url": null,
                  "label": "&laquo; Previous",
                  "active": false
              },
              {
                  "url": "http://ecommerce.test/api/product/tag/ktm?page=1",
                  "label": "1",
                  "active": true
              },
              {
                  "url": null,
                  "label": "Next &raquo;",
                  "active": false
              }
          ],
          "next_page_url": null,
          "path": "http://ecommerce.test/api/product/tag/ktm",
          "per_page": 10,
          "prev_page_url": null,
          "to": 1,
          "total": 1
      }
  },
  "message": "success"

}
 

Request   

GET api/product/tag/{id}

URL Parameters

id  string  

The ID of the tag.

User Management

APIs for User Management

Login

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/login',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'email' => 'nemo',
            'password' => 'qui',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/login"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "email": "nemo",
    "password": "qui"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/login'
payload = {
    "email": "nemo",
    "password": "qui"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "user": {
        "id": 8,
        "first_name": "Hafijur SPN",
        "last_name": "21",
        "username": null,
        "photo": null,
        "role_id": 4,
        "mobile_verified_at": null,
        "email": "spn21@spondonit.com",
        "is_verified": 0,
        "verify_code": null,
        "email_verified_at": null,
        "notification_preference": "mail",
        "is_active": 1,
        "avatar": null,
        "phone": null,
        "date_of_birth": null,
        "description": null,
        "secret_login": 0,
        "secret_logged_in_by_user": null,
        "created_at": "2021-06-09T11:56:56.000000Z",
        "updated_at": "2021-06-09T12:29:05.000000Z",
        "role": {
            "id": 4,
            "name": "Customer",
            "type": "customer",
            "details": null,
            "created_at": "2021-05-29T05:26:46.000000Z",
            "updated_at": null
        }
    },
    "token": "5|Y6PwOvfBo0W4k04SWlZV8naNLNdmXVOUnRQt4KZg",
    "message": "Successfully logged In"
}
 

Request   

POST api/login

Body Parameters

email  string  

email or phone from user

password  string  

password

POST api/social-login

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/social-login',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/social-login"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/social-login'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Request   

POST api/social-login

Register Customer

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/register',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'first_name' => 'quis',
            'last_name' => 'illo',
            'email' => 'inventore',
            'referral_code' => 'provident',
            'password' => 'quas',
            'password_confirmation' => 'ab',
            'user_type' => 'quis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/register"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "first_name": "quis",
    "last_name": "illo",
    "email": "inventore",
    "referral_code": "provident",
    "password": "quas",
    "password_confirmation": "ab",
    "user_type": "quis"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/register'
payload = {
    "first_name": "quis",
    "last_name": "illo",
    "email": "inventore",
    "referral_code": "provident",
    "password": "quas",
    "password_confirmation": "ab",
    "user_type": "quis"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
    "user": {
        "first_name": "customer 5",
        "last_name": null,
        "username": null,
        "email": "customer5@gmail.com",
        "role_id": 4,
        "phone": null,
        "updated_at": "2021-06-10T11:41:35.000000Z",
        "created_at": "2021-06-10T11:41:35.000000Z",
        "id": 9
    },
    "token": "6|PV66uUWWSNzekyWW05XqItqI9ernvqAqEkxbYGh0",
    "message": "Successfully registered"
}
 

Request   

POST api/register

Body Parameters

first_name  string  

customer first name

last_name  string  

customer last name

email  string  

email or phone from user

referral_code  string optional  

nullable referral code from another user

password  string  

password

password_confirmation  string  

same as password

user_type  string  

customer

Set Device token

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/set-fcm-token',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'device_token' => 'doloribus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/set-fcm-token"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "device_token": "doloribus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/set-fcm-token'
payload = {
    "device_token": "doloribus"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "status": "success",
    "message": "Successfully set fcm token"
}
 

Request   

POST api/set-fcm-token

Body Parameters

device_token  string  

device token for push notification

Logout user

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/logout',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/logout"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/logout'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):


{
    "message": "Logged out successfully"
}
 

Request   

POST api/logout

Change Password

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/change-password',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'old_password' => 'sunt',
            'password' => 'est',
            'password_confirmation' => 'eligendi',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/change-password"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "old_password": "sunt",
    "password": "est",
    "password_confirmation": "eligendi"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/change-password'
payload = {
    "old_password": "sunt",
    "password": "est",
    "password_confirmation": "eligendi"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    'message' => 'password change successfully'
}
 

Request   

POST api/change-password

Body Parameters

old_password  string  

old password

password  string  

new password

password_confirmation  string  

same as new password

Get user

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/get-user',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/get-user"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/get-user'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "user": {
        "id": 9,
        "first_name": "customer 5",
        "last_name": null,
        "username": null,
        "photo": null,
        "role_id": 4,
        "mobile_verified_at": null,
        "email": "customer5@gmail.com",
        "is_verified": 0,
        "verify_code": null,
        "email_verified_at": null,
        "notification_preference": "mail",
        "is_active": 1,
        "avatar": null,
        "phone": null,
        "date_of_birth": null,
        "description": null,
        "secret_login": 0,
        "secret_logged_in_by_user": null,
        "created_at": "2021-06-10T11:41:35.000000Z",
        "updated_at": "2021-06-10T11:41:35.000000Z",
        "customer_addresses": []
    },
    "message": "success"
}
 

Request   

GET api/get-user

Customer Profile Update

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/update-information',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'first_name' => 'reprehenderit',
            'last_name' => 'sint',
            'email' => 'fugit',
            'phone' => 'aliquid',
            'date_of_birth' => 'omnis',
            'description' => 'odit',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/update-information"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "first_name": "reprehenderit",
    "last_name": "sint",
    "email": "fugit",
    "phone": "aliquid",
    "date_of_birth": "omnis",
    "description": "odit"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/update-information'
payload = {
    "first_name": "reprehenderit",
    "last_name": "sint",
    "email": "fugit",
    "phone": "aliquid",
    "date_of_birth": "omnis",
    "description": "odit"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (202):


{
  'message' => 'profile updated successfully'
}
 

Request   

POST api/profile/update-information

Body Parameters

first_name  string  

customer first name

last_name  string  

customer last name

email  string  

email or phone from user

phone  string optional  

nullable phone number

date_of_birth  string optional  

nullable customer date of birth

description  string optional  

nullable description

Change Profile photo

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/update-photo',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'multipart/form-data',
            'Authorization' => 'Bearer {token}',
        ],
        'multipart' => [
            [
                'name' => 'avatar',
                'contents' => fopen('C:\Users\HAFIJ\AppData\Local\Temp\phpF19F.tmp', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/update-photo"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "multipart/form-data",
    "Authorization": "Bearer {token}",
};

const body = new FormData();
body.append('avatar', document.querySelector('input[name="avatar"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/update-photo'
files = {
  'avatar': open('C:\Users\HAFIJ\AppData\Local\Temp\phpF19F.tmp', 'rb')
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'multipart/form-data',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, files=files)
response.json()

Example response (202):


{
 'message' => 'updated successfully'
}
 

Request   

POST api/profile/update-photo

Body Parameters

avatar  file  

profile photo

Customer Address List

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/profile/address-list',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/address-list"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/address-list'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "addresses": [
        {
            "id": 1,
            "customer_id": 5,
            "name": "customer 1",
            "email": "customer1@gmail.com",
            "phone": "016859865968",
            "address": "dhaka, bangladesh",
            "city": "7291",
            "state": "348",
            "country": "18",
            "postal_code": "6568656",
            "is_shipping_default": 1,
            "is_billing_default": 0,
            "created_at": "2021-05-29T12:06:24.000000Z",
            "updated_at": "2021-06-06T11:40:15.000000Z"
        }
    ],
    "message": "success"
}
 

Request   

GET api/profile/address-list

Address store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/address-store',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'name' => 'at',
            'email' => 'bstamm@example.org',
            'address' => 'omnis',
            'phone' => 'autem',
            'city' => 'cum',
            'state' => 'laborum',
            'country' => 'animi',
            'postal_code' => 'tenetur',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/address-store"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "name": "at",
    "email": "bstamm@example.org",
    "address": "omnis",
    "phone": "autem",
    "city": "cum",
    "state": "laborum",
    "country": "animi",
    "postal_code": "tenetur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/address-store'
payload = {
    "name": "at",
    "email": "bstamm@example.org",
    "address": "omnis",
    "phone": "autem",
    "city": "cum",
    "state": "laborum",
    "country": "animi",
    "postal_code": "tenetur"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
     'message' : 'address added successfully'
}
 

Request   

POST api/profile/address-store

Body Parameters

name  string  

email  string  

Must be a valid email address.

address  string  

phone  string  

city  string  

state  string  

country  string  

postal_code  string  

Address Update

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/address-update/illum',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'name' => 'totam',
            'email' => 'zmitchell@example.org',
            'address' => 'sunt',
            'phone' => 'dolorem',
            'city' => 'repellendus',
            'state' => 'voluptas',
            'country' => 'qui',
            'postal_code' => 'amet',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/address-update/illum"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "name": "totam",
    "email": "zmitchell@example.org",
    "address": "sunt",
    "phone": "dolorem",
    "city": "repellendus",
    "state": "voluptas",
    "country": "qui",
    "postal_code": "amet"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/address-update/illum'
payload = {
    "name": "totam",
    "email": "zmitchell@example.org",
    "address": "sunt",
    "phone": "dolorem",
    "city": "repellendus",
    "state": "voluptas",
    "country": "qui",
    "postal_code": "amet"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (202):


{
     'message' : 'address updated successfully'
}
 

Request   

POST api/profile/address-update/{id}

URL Parameters

id  string  

The ID of the address update.

Body Parameters

name  string  

email  string  

Must be a valid email address.

address  string  

phone  string  

city  string  

state  string  

country  string  

postal_code  string  

Address Delete

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/address-delete',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 22.06,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/address-delete"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 22.06
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/address-delete'
payload = {
    "id": 22.06
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (202):


{
    'message' : 'address deleted successfully'
}
 

Request   

POST api/profile/address-delete

Body Parameters

id  number  

address id

Set default shipping address

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/default-shipping-address',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 23029597.0,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/default-shipping-address"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 23029597
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/default-shipping-address'
payload = {
    "id": 23029597
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
     'message' : 'set to default shiiping address'
}
 

Request   

POST api/profile/default-shipping-address

Body Parameters

id  number  

address id

Set default billing address

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/profile/default-billing-address',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 665370.010442711,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/default-billing-address"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 665370.010442711
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/default-billing-address'
payload = {
    "id": 665370.010442711
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
     'message' : 'set to default billing address'
}
 

Request   

POST api/profile/default-billing-address

Body Parameters

id  number  

address id

Customer Get Data

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/profile/get-customer-data',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/profile/get-customer-data"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/profile/get-customer-data'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{
    "wallet_running_balance": 699.28,
    "wallet_pending_balance": 0,
    "total_coupon": 1,
    "total_wishlist": 3,
    "message": "success"
}
 

Request   

GET api/profile/get-customer-data

Forgot Password

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/forgot-password',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'email' => 'minima',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/forgot-password"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "email": "minima"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/forgot-password'
payload = {
    "email": "minima"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
    "message": "Reset password link sent on your email id."
}
 

Request   

POST api/forgot-password

Body Parameters

email  string  

customers email

Delete Account

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/customer-delete',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/customer-delete"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/customer-delete'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):


{
    "message": "success"
}
 

Request   

POST api/customer-delete

wishlist

APIs for customer WishList

Wish list

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://spn21.spondan.com/amazcart/api/wishlist',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/wishlist"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/wishlist'
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):


{

     "products": {
          "4": [
              {
                  "id": 3,
                  "user_id": 5,
                  "seller_id": 4,
                  "type" : "product",
                  "seller_product_id": 3,
                  "created_at": "2021-06-09T09:44:39.000000Z",
                  "updated_at": "2021-06-09T09:44:39.000000Z",
                  "user": {
                      "id": 5,
                      "first_name": "Customer 1",
                      "last_name": null,
                      "username": "01729975293",
                      "photo": null,
                      "role_id": 4,
                      "mobile_verified_at": null,
                      "email": "customer1@gmail.com",
                      "is_verified": 0,
                      "verify_code": null,
                      "email_verified_at": null,
                      "notification_preference": "mail",
                      "is_active": 1,
                      "avatar": null,
                      "phone": "3265865323563565",
                      "date_of_birth": null,
                      "description": "test",
                      "secret_login": 0,
                      "secret_logged_in_by_user": null,
                      "created_at": "2021-05-29T12:02:52.000000Z",
                      "updated_at": "2021-06-06T06:24:30.000000Z"
                  },
                  "seller": {
                      "id": 4,
                      "first_name": "Amazcart Ltd",
                      "last_name": null,
                      "username": "0156356563235",
                      "photo": null,
                      "role_id": 5,
                      "mobile_verified_at": null,
                      "email": "amazcart@gmail.com",
                      "is_verified": 1,
                      "verify_code": "74d68bde279426442de115eb532f9f51a21eb448",
                      "email_verified_at": null,
                      "notification_preference": "mail",
                      "is_active": 1,
                      "avatar": null,
                      "phone": null,
                      "date_of_birth": null,
                      "description": null,
                      "secret_login": 0,
                      "secret_logged_in_by_user": null,
                      "created_at": "2021-05-29T07:15:56.000000Z",
                      "updated_at": "2021-05-29T07:15:56.000000Z"
                  },
                  "giftcard": {
                      gift card info

                  },
                  "product": {
                      "id": 3,
                      "user_id": 4,
                      "product_id": 3,
                      "tax": 15,
                      "tax_type": "0",
                      "discount": 50,
                      "discount_type": "1",
                      "discount_start_date": "05/01/2021",
                      "discount_end_date": "06/30/2021",
                      "product_name": "KTM RC 390",
                      "slug": "ktm-rc-390-4",
                      "thum_img": null,
                      "status": 1,
                      "stock_manage": 0,
                      "is_approved": 0,
                      "min_sell_price": 6500,
                      "max_sell_price": 6500,
                      "total_sale": 1,
                      "avg_rating": 0,
                      "recent_view": "2021-05-29 16:28:14",
                      "created_at": "2021-05-29T10:28:14.000000Z",
                      "updated_at": "2021-05-30T04:29:14.000000Z",
                      "variantDetails": [],
                      "MaxSellingPrice": 6600,
                      "hasDeal": {
                          "id": 2,
                          "flash_deal_id": 1,
                          "seller_product_id": 3,
                          "discount": 50,
                          "discount_type": 1,
                          "status": 1,
                          "created_at": "2021-06-01T12:56:18.000000Z",
                          "updated_at": "2021-06-01T13:08:58.000000Z"
                      },
                      "rating": 0,
                      "product": {
                          "id": 3,
                          "product_name": "KTM RC 390",
                          "product_type": 1,
                          "unit_type_id": 1,
                          "brand_id": 2,
                          "category_id": 5,
                          "thumbnail_image_source": "uploads/images/29-05-2021/60b1e99781fbb.png",
                          "barcode_type": "C39",
                          "model_number": "ktm-rc-390",
                          "shipping_type": 0,
                          "shipping_cost": 0,
                          "discount_type": "1",
                          "discount": 0,
                          "tax_type": "0",
                          "tax": 15,
                          "pdf": null,
                          "video_provider": "youtube",
                          "video_link": null,
                          "description": "<p>test product</p>",
                          "specification": "<p>test product</p>",
                          "minimum_order_qty": 1,
                          "max_order_qty": 5,
                          "meta_title": null,
                          "meta_description": null,
                          "meta_image": null,
                          "is_physical": 1,
                          "is_approved": 1,
                          "display_in_details": 1,
                          "requested_by": 1,
                          "created_by": 1,
                          "slug": "ktm-rc-390",
                          "updated_by": null,
                          "created_at": "2021-05-29T07:13:28.000000Z",
                          "updated_at": "2021-05-29T07:13:28.000000Z"
                      },
                      "skus": [
                          {
                              "id": 7,
                              "user_id": 4,
                              "product_id": 3,
                              "product_sku_id": "4",
                              "product_stock": 0,
                              "purchase_price": 0,
                              "selling_price": 6600,
                              "status": 1,
                              "created_at": "2021-05-29T10:28:14.000000Z",
                              "updated_at": "2021-05-30T04:32:25.000000Z",
                              "product_variations": []
                          }
                      ],
                      "reviews": []
                  }
              }
          ]
      },
      "message": "success"

}
 

Request   

GET api/wishlist

Store

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/wishlist',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'seller_id' => 11,
            'seller_product_id' => 13,
            'type' => 'error',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/wishlist"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "seller_id": 11,
    "seller_product_id": 13,
    "type": "error"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/wishlist'
payload = {
    "seller_id": 11,
    "seller_product_id": 13,
    "type": "error"
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (201):


{
     'message' : 'Product added to wishlist.'
}
 

Request   

POST api/wishlist

Body Parameters

seller_id  integer  

seller id

seller_product_id  integer  

seller product id

type  string  

product or giftcard

Delete

Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://spn21.spondan.com/amazcart/api/wishlist/delete',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Type' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'id' => 10,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
    "https://spn21.spondan.com/amazcart/api/wishlist/delete"
);

const headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "id": 10
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://spn21.spondan.com/amazcart/api/wishlist/delete'
payload = {
    "id": 10
}
headers = {
  'Accept': 'application/json',
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {token}'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (202):


{
     'message' : 'product removed from wishlist successfully.'
}
 

Request   

POST api/wishlist/delete

Body Parameters

id  integer  

item id from wish list