Update shop new
curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{shopId}/update \
--header 'Content-Type: application/json' \
--data '
{
"bio": "we love pets",
"call": true,
"country": "6267e00ce8e5c54b0b68cb05",
"customerNotificationConfig": {
"email": true,
"whatsApp": true
},
"email": "treasurefun@yahoo.com",
"hideLogo": false,
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"name": "Pet store",
"questions": {
"question_1": false,
"question_2": true,
"question_3": false,
"question_4": "facebook",
"question_5": "dunno"
},
"shopCategory": "5f3c62287fe78f559ccf7797",
"shop_url": "louisa-s-test-shop",
"telephone": "+2348137064736",
"testShop": true,
"theme": "TRENDY",
"whatsApp": true
}
'import requests
url = "http://staging.qshop.ng/apiv2/{shopId}/update"
payload = {
"bio": "we love pets",
"call": True,
"country": "6267e00ce8e5c54b0b68cb05",
"customerNotificationConfig": {
"email": True,
"whatsApp": True
},
"email": "treasurefun@yahoo.com",
"hideLogo": False,
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"name": "Pet store",
"questions": {
"question_1": False,
"question_2": True,
"question_3": False,
"question_4": "facebook",
"question_5": "dunno"
},
"shopCategory": "5f3c62287fe78f559ccf7797",
"shop_url": "louisa-s-test-shop",
"telephone": "+2348137064736",
"testShop": True,
"theme": "TRENDY",
"whatsApp": True
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
bio: 'we love pets',
call: true,
country: '6267e00ce8e5c54b0b68cb05',
customerNotificationConfig: {email: true, whatsApp: true},
email: 'treasurefun@yahoo.com',
hideLogo: false,
logo_uuid: 'a5dcf65b-7eb6-46ac-a1e1-62b695b2618d',
name: 'Pet store',
questions: {
question_1: false,
question_2: true,
question_3: false,
question_4: 'facebook',
question_5: 'dunno'
},
shopCategory: '5f3c62287fe78f559ccf7797',
shop_url: 'louisa-s-test-shop',
telephone: '+2348137064736',
testShop: true,
theme: 'TRENDY',
whatsApp: true
})
};
fetch('http://staging.qshop.ng/apiv2/{shopId}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://staging.qshop.ng/apiv2/{shopId}/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'bio' => 'we love pets',
'call' => true,
'country' => '6267e00ce8e5c54b0b68cb05',
'customerNotificationConfig' => [
'email' => true,
'whatsApp' => true
],
'email' => 'treasurefun@yahoo.com',
'hideLogo' => false,
'logo_uuid' => 'a5dcf65b-7eb6-46ac-a1e1-62b695b2618d',
'name' => 'Pet store',
'questions' => [
'question_1' => false,
'question_2' => true,
'question_3' => false,
'question_4' => 'facebook',
'question_5' => 'dunno'
],
'shopCategory' => '5f3c62287fe78f559ccf7797',
'shop_url' => 'louisa-s-test-shop',
'telephone' => '+2348137064736',
'testShop' => true,
'theme' => 'TRENDY',
'whatsApp' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://staging.qshop.ng/apiv2/{shopId}/update"
payload := strings.NewReader("{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("http://staging.qshop.ng/apiv2/{shopId}/update")
.header("Content-Type", "application/json")
.body("{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://staging.qshop.ng/apiv2/{shopId}/update")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"__v": 119,
"_id": "5f439e2e64d89817e562a811",
"bankDetails": [
{
"account_name": "OGECHI LOUISA OKWUONE",
"account_no": "2189963543",
"bank_code": "057",
"bank_name": "Zenith bank PLC",
"country": {
"__v": 0,
"_id": "6177fd783afe26373671e408",
"code": "NG",
"name": "Nigeria"
},
"paymentMethods": [
"5ee79956eea46308e8f84869",
"5ee79950eea46308e8f84868"
]
}
],
"billingNotice": "2020-11-14T06:00:00.016Z",
"bio": "we love pets",
"call": true,
"country": "6267e00ce8e5c54b0b68cb05",
"created": "2020-08-24T11:02:06.364Z",
"currencies": [
"625ff4b1313314d5008106ac"
],
"customerNotificationConfig": {
"email": true,
"whatsApp": true
},
"domainActive": true,
"domainCreated": "2022-03-19T19:33:35.852Z",
"domainExpires": "2031-03-19T19:33:35.852Z",
"domainName": "louisanm.com",
"domainPeriod": 9,
"domainSubscription": "62362ffb8504f19b4e7ed63c",
"domainValidated": true,
"email": "treasurefun@yahoo.com",
"firstLaunch": "2021-01-08T00:59:32.314Z",
"googleId": "UA-183941820-1",
"hideLogo": false,
"identifiers": [
{
"identifier": "qshop-test",
"isEnabled": true,
"name": "ebanqo"
},
{
"identifier": "qshop-test",
"isEnabled": false,
"name": "stripe"
}
],
"instaAuth": "IGQVJXaVB0QWd3dHMxSUZAIOUV3dVg3SmxJdk9uRjdHRWFmc19tY2tzc0prSkNTREgyRU40X0EzZAGdLWmpGRHdEbDN3c0I1QU9xcGJnVlBLS2F0alV2T2p0UWRDWmpmVUJ0NmtVSmJR",
"instaAuthDateExpires": "2022-07-08T14:58:02.942Z",
"instagram": "louie_baybie",
"inventoryConfig": {
"displayOptionKeyId": "6c6f775f696e5f73746f636b",
"enableProductPageStockCount": false,
"isLowStockEnabled": false,
"isOutOfStockEnabled": false
},
"locations": [
{
"address": "Block 1 Opebi street",
"country": "Nigeria",
"state": "Delta"
},
{
"address": "Block 1B Toyin street",
"country": "Nigeria",
"state": "Lagos"
}
],
"logo": null,
"logo_url": "b821e296-03d4-42f7-a748-9acb1d57a636",
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"modified": "2022-05-19T13:03:59.277Z",
"name": "Pet store",
"owner": {
"__v": 3,
"_id": "5f439e0a64d89817e562a810",
"access_code": null,
"address": {
"city": "Abak",
"country": "Nigeria",
"line_1": "Cadogan Estate",
"line_2": "lekki",
"state": "Akwa Ibom",
"zip_code": "100218"
},
"email": "treasurefun@yahoo.com",
"full_name": "Louisa girlie3",
"last_access": "2022-06-20T12:13:59.613Z",
"orders": [],
"pass": "$2b$10$dmOPpIxa7dlfCYCbiMYWiueO2JWfQ9VcqynlIYfTlRu5RWCD9hDre",
"profiles": [],
"referred_by": "5f3c62f4bc19938f1ad2e215",
"reg_date": "2020-08-24T11:01:30.132Z",
"reset_pass": false,
"roles": [
"5e7e89bf872c2c0f8c1c3fb4"
],
"shopCount": 1,
"social": [],
"telephone": "+2348137064736",
"username": "treasurefun@yahoo.com",
"whatsapp": "+2348137064736"
},
"paymentError": [],
"paymentMethods": [
"5ee79950eea46308e8f84868",
"5ee79956eea46308e8f84869",
"5ee8ada78d362db318828297"
],
"pickupLocation": "123 Adeola Street, Lagos state",
"productWeightConfig": {
"unit": "kg"
},
"products": 17,
"questions": {
"question_1": false,
"question_2": true,
"question_3": false,
"question_4": "facebook",
"question_5": "dunno"
},
"referralCode": "618118c6a30c111bd506d988",
"registrar": "Namecheap",
"returnPolicy": "nil",
"shippingPolicy": "nil",
"shippingRates": [
{
"_id": "5ee6a1a5eea46308e8f84843",
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Abia",
"rate": 1000
},
{
"_id": "5ee6a281eea46308e8f8485a",
"confirmRate": false,
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Kwara",
"rate": 1000
},
{
"_id": "5ee6a281eea46308e8f8485b",
"areas": [
{
"id": "ik4211677",
"name": "ikeja",
"rate": 2000
}
],
"confirmRate": false,
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Lagos",
"rate": "1000"
}
],
"shopCategory": "5f3c62287fe78f559ccf7797",
"shopPreview": "2022-06-14T10:10:54.460Z",
"shop_url": "louisa-s-test-shop",
"slug": "louisa-s-test-shop-0002",
"status": "active",
"subscription": "62321ff885227991e4331623",
"telephone": "+2348137064736",
"testShop": true,
"theme": "TRENDY",
"trialEnd": "2020-11-11T08:27:58.372Z",
"trialPeriod": 8,
"trialStart": "2020-11-03T08:27:58.372Z",
"whatsApp": true,
"wizard_steps": {
"7": "done",
"8": "done",
"9": "done"
}
},
"message": "Shop updated successfully",
"status": 200,
"success": true
}Shops
Update shop new
PATCH
/
{shopId}
/
update
Update shop new
curl --request PATCH \
--url http://staging.qshop.ng/apiv2/{shopId}/update \
--header 'Content-Type: application/json' \
--data '
{
"bio": "we love pets",
"call": true,
"country": "6267e00ce8e5c54b0b68cb05",
"customerNotificationConfig": {
"email": true,
"whatsApp": true
},
"email": "treasurefun@yahoo.com",
"hideLogo": false,
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"name": "Pet store",
"questions": {
"question_1": false,
"question_2": true,
"question_3": false,
"question_4": "facebook",
"question_5": "dunno"
},
"shopCategory": "5f3c62287fe78f559ccf7797",
"shop_url": "louisa-s-test-shop",
"telephone": "+2348137064736",
"testShop": true,
"theme": "TRENDY",
"whatsApp": true
}
'import requests
url = "http://staging.qshop.ng/apiv2/{shopId}/update"
payload = {
"bio": "we love pets",
"call": True,
"country": "6267e00ce8e5c54b0b68cb05",
"customerNotificationConfig": {
"email": True,
"whatsApp": True
},
"email": "treasurefun@yahoo.com",
"hideLogo": False,
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"name": "Pet store",
"questions": {
"question_1": False,
"question_2": True,
"question_3": False,
"question_4": "facebook",
"question_5": "dunno"
},
"shopCategory": "5f3c62287fe78f559ccf7797",
"shop_url": "louisa-s-test-shop",
"telephone": "+2348137064736",
"testShop": True,
"theme": "TRENDY",
"whatsApp": True
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
bio: 'we love pets',
call: true,
country: '6267e00ce8e5c54b0b68cb05',
customerNotificationConfig: {email: true, whatsApp: true},
email: 'treasurefun@yahoo.com',
hideLogo: false,
logo_uuid: 'a5dcf65b-7eb6-46ac-a1e1-62b695b2618d',
name: 'Pet store',
questions: {
question_1: false,
question_2: true,
question_3: false,
question_4: 'facebook',
question_5: 'dunno'
},
shopCategory: '5f3c62287fe78f559ccf7797',
shop_url: 'louisa-s-test-shop',
telephone: '+2348137064736',
testShop: true,
theme: 'TRENDY',
whatsApp: true
})
};
fetch('http://staging.qshop.ng/apiv2/{shopId}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://staging.qshop.ng/apiv2/{shopId}/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'bio' => 'we love pets',
'call' => true,
'country' => '6267e00ce8e5c54b0b68cb05',
'customerNotificationConfig' => [
'email' => true,
'whatsApp' => true
],
'email' => 'treasurefun@yahoo.com',
'hideLogo' => false,
'logo_uuid' => 'a5dcf65b-7eb6-46ac-a1e1-62b695b2618d',
'name' => 'Pet store',
'questions' => [
'question_1' => false,
'question_2' => true,
'question_3' => false,
'question_4' => 'facebook',
'question_5' => 'dunno'
],
'shopCategory' => '5f3c62287fe78f559ccf7797',
'shop_url' => 'louisa-s-test-shop',
'telephone' => '+2348137064736',
'testShop' => true,
'theme' => 'TRENDY',
'whatsApp' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://staging.qshop.ng/apiv2/{shopId}/update"
payload := strings.NewReader("{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("http://staging.qshop.ng/apiv2/{shopId}/update")
.header("Content-Type", "application/json")
.body("{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://staging.qshop.ng/apiv2/{shopId}/update")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"bio\": \"we love pets\",\n \"call\": true,\n \"country\": \"6267e00ce8e5c54b0b68cb05\",\n \"customerNotificationConfig\": {\n \"email\": true,\n \"whatsApp\": true\n },\n \"email\": \"treasurefun@yahoo.com\",\n \"hideLogo\": false,\n \"logo_uuid\": \"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d\",\n \"name\": \"Pet store\",\n \"questions\": {\n \"question_1\": false,\n \"question_2\": true,\n \"question_3\": false,\n \"question_4\": \"facebook\",\n \"question_5\": \"dunno\"\n },\n \"shopCategory\": \"5f3c62287fe78f559ccf7797\",\n \"shop_url\": \"louisa-s-test-shop\",\n \"telephone\": \"+2348137064736\",\n \"testShop\": true,\n \"theme\": \"TRENDY\",\n \"whatsApp\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"__v": 119,
"_id": "5f439e2e64d89817e562a811",
"bankDetails": [
{
"account_name": "OGECHI LOUISA OKWUONE",
"account_no": "2189963543",
"bank_code": "057",
"bank_name": "Zenith bank PLC",
"country": {
"__v": 0,
"_id": "6177fd783afe26373671e408",
"code": "NG",
"name": "Nigeria"
},
"paymentMethods": [
"5ee79956eea46308e8f84869",
"5ee79950eea46308e8f84868"
]
}
],
"billingNotice": "2020-11-14T06:00:00.016Z",
"bio": "we love pets",
"call": true,
"country": "6267e00ce8e5c54b0b68cb05",
"created": "2020-08-24T11:02:06.364Z",
"currencies": [
"625ff4b1313314d5008106ac"
],
"customerNotificationConfig": {
"email": true,
"whatsApp": true
},
"domainActive": true,
"domainCreated": "2022-03-19T19:33:35.852Z",
"domainExpires": "2031-03-19T19:33:35.852Z",
"domainName": "louisanm.com",
"domainPeriod": 9,
"domainSubscription": "62362ffb8504f19b4e7ed63c",
"domainValidated": true,
"email": "treasurefun@yahoo.com",
"firstLaunch": "2021-01-08T00:59:32.314Z",
"googleId": "UA-183941820-1",
"hideLogo": false,
"identifiers": [
{
"identifier": "qshop-test",
"isEnabled": true,
"name": "ebanqo"
},
{
"identifier": "qshop-test",
"isEnabled": false,
"name": "stripe"
}
],
"instaAuth": "IGQVJXaVB0QWd3dHMxSUZAIOUV3dVg3SmxJdk9uRjdHRWFmc19tY2tzc0prSkNTREgyRU40X0EzZAGdLWmpGRHdEbDN3c0I1QU9xcGJnVlBLS2F0alV2T2p0UWRDWmpmVUJ0NmtVSmJR",
"instaAuthDateExpires": "2022-07-08T14:58:02.942Z",
"instagram": "louie_baybie",
"inventoryConfig": {
"displayOptionKeyId": "6c6f775f696e5f73746f636b",
"enableProductPageStockCount": false,
"isLowStockEnabled": false,
"isOutOfStockEnabled": false
},
"locations": [
{
"address": "Block 1 Opebi street",
"country": "Nigeria",
"state": "Delta"
},
{
"address": "Block 1B Toyin street",
"country": "Nigeria",
"state": "Lagos"
}
],
"logo": null,
"logo_url": "b821e296-03d4-42f7-a748-9acb1d57a636",
"logo_uuid": "a5dcf65b-7eb6-46ac-a1e1-62b695b2618d",
"modified": "2022-05-19T13:03:59.277Z",
"name": "Pet store",
"owner": {
"__v": 3,
"_id": "5f439e0a64d89817e562a810",
"access_code": null,
"address": {
"city": "Abak",
"country": "Nigeria",
"line_1": "Cadogan Estate",
"line_2": "lekki",
"state": "Akwa Ibom",
"zip_code": "100218"
},
"email": "treasurefun@yahoo.com",
"full_name": "Louisa girlie3",
"last_access": "2022-06-20T12:13:59.613Z",
"orders": [],
"pass": "$2b$10$dmOPpIxa7dlfCYCbiMYWiueO2JWfQ9VcqynlIYfTlRu5RWCD9hDre",
"profiles": [],
"referred_by": "5f3c62f4bc19938f1ad2e215",
"reg_date": "2020-08-24T11:01:30.132Z",
"reset_pass": false,
"roles": [
"5e7e89bf872c2c0f8c1c3fb4"
],
"shopCount": 1,
"social": [],
"telephone": "+2348137064736",
"username": "treasurefun@yahoo.com",
"whatsapp": "+2348137064736"
},
"paymentError": [],
"paymentMethods": [
"5ee79950eea46308e8f84868",
"5ee79956eea46308e8f84869",
"5ee8ada78d362db318828297"
],
"pickupLocation": "123 Adeola Street, Lagos state",
"productWeightConfig": {
"unit": "kg"
},
"products": 17,
"questions": {
"question_1": false,
"question_2": true,
"question_3": false,
"question_4": "facebook",
"question_5": "dunno"
},
"referralCode": "618118c6a30c111bd506d988",
"registrar": "Namecheap",
"returnPolicy": "nil",
"shippingPolicy": "nil",
"shippingRates": [
{
"_id": "5ee6a1a5eea46308e8f84843",
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Abia",
"rate": 1000
},
{
"_id": "5ee6a281eea46308e8f8485a",
"confirmRate": false,
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Kwara",
"rate": 1000
},
{
"_id": "5ee6a281eea46308e8f8485b",
"areas": [
{
"id": "ik4211677",
"name": "ikeja",
"rate": 2000
}
],
"confirmRate": false,
"countryCode": "NG",
"disableShipping": false,
"enableShipping": true,
"name": "Lagos",
"rate": "1000"
}
],
"shopCategory": "5f3c62287fe78f559ccf7797",
"shopPreview": "2022-06-14T10:10:54.460Z",
"shop_url": "louisa-s-test-shop",
"slug": "louisa-s-test-shop-0002",
"status": "active",
"subscription": "62321ff885227991e4331623",
"telephone": "+2348137064736",
"testShop": true,
"theme": "TRENDY",
"trialEnd": "2020-11-11T08:27:58.372Z",
"trialPeriod": 8,
"trialStart": "2020-11-03T08:27:58.372Z",
"whatsApp": true,
"wizard_steps": {
"7": "done",
"8": "done",
"9": "done"
}
},
"message": "Shop updated successfully",
"status": 200,
"success": true
}Path Parameters
Example:
"5f439e2e64d89817e562a811"
Body
application/json
Example:
"we love pets"
Example:
true
Example:
"6267e00ce8e5c54b0b68cb05"
Show child attributes
Show child attributes
Example:
"treasurefun@yahoo.com"
Example:
false
Example:
"a5dcf65b-7eb6-46ac-a1e1-62b695b2618d"
Example:
"Pet store"
Show child attributes
Show child attributes
Example:
"5f3c62287fe78f559ccf7797"
Example:
"louisa-s-test-shop"
Example:
"+2348137064736"
Example:
true
Example:
"TRENDY"
Example:
true
Was this page helpful?
⌘I