curl --request GET \
--url http://staging.qshop.ng/apiv2/shops/{shopId}/locations{
"msg": "<string>",
"data": [
{
"_id": "<string>",
"shop": "<string>",
"created": "<string>",
"modified": "<string>",
"type": "<string>",
"hidden": true,
"name": "<string>",
"description": "<string>",
"country": {
"_id": "<string>",
"name": "<string>",
"dialCode": "<string>",
"code": "<string>",
"__v": 123,
"geoId": "<string>",
"hasPostCode": true,
"postalCodeFormat": "<string>",
"currencyCode": "<string>",
"east": 123,
"north": 123,
"south": 123,
"west": 123
},
"state": {
"_id": "<string>",
"name": "<string>",
"rate": 123,
"countryCode": "<string>",
"code": "<string>",
"countryGeoId": "<string>",
"geoId": "<string>",
"latitude": 123,
"longitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
}
},
"city": {
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"stateGeoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
},
"area": "<string>",
"address": "<string>",
"geoLocation": {
"coordinates": {
"lng": 123,
"lat": 123
},
"fullAddress": "<string>",
"zipCode": "<string>",
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"addressProximity": "<string>",
"geoNames": [
{
"lng": "<string>",
"geonameId": 123,
"name": "<string>",
"fclName": "<string>",
"toponymName": "<string>",
"fcodeName": "<string>",
"adminName1": "<string>",
"lat": "<string>",
"fcl": "<string>",
"fcode": "<string>",
"population": 123,
"adminCode1": "<string>",
"countryId": "<string>",
"countryCode": "<string>",
"countryName": "<string>",
"adminCodes1": {
"ISO3166_2": "<string>"
}
}
],
"google": {
"address_components": [
{
"long_name": "<string>",
"short_name": "<string>",
"types": [
"<string>"
]
}
],
"adr_address": "<string>",
"formatted_address": "<string>",
"geometry": {
"location": {
"lat": 123,
"lng": 123
},
"viewport": {
"south": 123,
"west": 123,
"north": 123,
"east": 123
}
},
"name": "<string>",
"types": [
"<string>"
],
"utc_offset": 123,
"html_attributions": "<array>",
"utc_offset_minutes": 123
},
"_id": "<string>"
},
"location": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123,
"defaultPickupcenter": true
}
],
"success": true
}Host: http://qshop.ng
curl --request GET \
--url http://staging.qshop.ng/apiv2/shops/{shopId}/locations{
"msg": "<string>",
"data": [
{
"_id": "<string>",
"shop": "<string>",
"created": "<string>",
"modified": "<string>",
"type": "<string>",
"hidden": true,
"name": "<string>",
"description": "<string>",
"country": {
"_id": "<string>",
"name": "<string>",
"dialCode": "<string>",
"code": "<string>",
"__v": 123,
"geoId": "<string>",
"hasPostCode": true,
"postalCodeFormat": "<string>",
"currencyCode": "<string>",
"east": 123,
"north": 123,
"south": 123,
"west": 123
},
"state": {
"_id": "<string>",
"name": "<string>",
"rate": 123,
"countryCode": "<string>",
"code": "<string>",
"countryGeoId": "<string>",
"geoId": "<string>",
"latitude": 123,
"longitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
}
},
"city": {
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"stateGeoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
},
"area": "<string>",
"address": "<string>",
"geoLocation": {
"coordinates": {
"lng": 123,
"lat": 123
},
"fullAddress": "<string>",
"zipCode": "<string>",
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"addressProximity": "<string>",
"geoNames": [
{
"lng": "<string>",
"geonameId": 123,
"name": "<string>",
"fclName": "<string>",
"toponymName": "<string>",
"fcodeName": "<string>",
"adminName1": "<string>",
"lat": "<string>",
"fcl": "<string>",
"fcode": "<string>",
"population": 123,
"adminCode1": "<string>",
"countryId": "<string>",
"countryCode": "<string>",
"countryName": "<string>",
"adminCodes1": {
"ISO3166_2": "<string>"
}
}
],
"google": {
"address_components": [
{
"long_name": "<string>",
"short_name": "<string>",
"types": [
"<string>"
]
}
],
"adr_address": "<string>",
"formatted_address": "<string>",
"geometry": {
"location": {
"lat": 123,
"lng": 123
},
"viewport": {
"south": 123,
"west": 123,
"north": 123,
"east": 123
}
},
"name": "<string>",
"types": [
"<string>"
],
"utc_offset": 123,
"html_attributions": "<array>",
"utc_offset_minutes": 123
},
"_id": "<string>"
},
"location": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123,
"defaultPickupcenter": true
}
],
"success": true
}Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?