curl --request GET \
--url http://staging.qshop.ng/apiv2/shops/{shopId}/orders/{orderId}{
"msg": "<string>",
"data": {
"paymentRef": {
"type": "<string>",
"transactionId": "<unknown>",
"initiatedWithCustomKeys": true
},
"purchaseCurrency": {
"snapshot": {
"baseRate": 123,
"currencyRate": 123,
"isBaseCurrency": true,
"isStoreFrontDefault": true
},
"currency": {
"_id": "<string>",
"code": "<string>",
"symbol": "<string>",
"nationality": "<string>",
"exchangeRate": 123,
"__v": 123,
"minimumProcessingAmount": 123,
"country": "<string>",
"name": "<string>"
},
"amount": 123,
"shipping": 123,
"shippingMarkupAmount": 123
},
"logistics": {
"trackingId": "<unknown>",
"trackingUrl": "<unknown>",
"waybill": "<unknown>",
"type": "<string>",
"rateSnapshot": {
"id": "<string>",
"_id": "<string>",
"name": "<string>",
"media": "<string>",
"rateType": "<string>",
"amount": 123,
"serviceType": "<string>",
"currency": "<string>",
"estimatedDeliveryETA": "<string>",
"estimatedPickupETA": "<string>",
"estimatedDeliveryETADateTime": "<string>",
"estimatedPickupETADateTime": "<string>",
"description": "<string>",
"courier": "<string>",
"provider": "<string>",
"type": "<string>",
"platform": "<string>",
"ratings": 123,
"meta": {
"courier_id": "<string>",
"courier_name": "<string>",
"courier_image": "<string>",
"service_code": "<string>",
"insurance": {
"code": "<string>",
"fee": 123
},
"discount": {
"percentage": 123,
"symbol": "<string>",
"discounted": 123
},
"service_type": "<string>",
"waybill": true,
"is_cod_available": true,
"tracking_level": 123,
"ratings": 123,
"votes": 123,
"connected_account": true,
"rate_card_amount": 123,
"pickup_eta": "<string>",
"pickup_eta_time": "<string>",
"dropoff_station": "<unknown>",
"pickup_station": "<unknown>",
"delivery_eta": "<string>",
"delivery_eta_time": "<string>",
"info": [
"<string>"
],
"currency": "<string>",
"vat": 123,
"total": 123,
"tracking": {
"bars": 123,
"label": "<string>"
},
"token": "<string>"
},
"preferenceStatus": "<string>",
"actualAmount": 123,
"markup": 123,
"markupMeta": "<unknown>"
},
"courier": {
"parcelConfig": {
"unit": {
"dimension": "<string>",
"weight": "<string>"
}
},
"_id": "<string>",
"name": "<string>",
"key": "<string>",
"isDefault": true,
"type": "<string>",
"defaultCourier": "<unknown>",
"media": "<string>",
"mediaType": "<string>",
"international": true,
"supportedCountries": [
"<string>"
],
"isDisabled": true,
"supportedAggregators": [
"<string>"
],
"initialMedia": "<string>",
"parcelCategories": "<array>"
},
"platform": "<string>",
"serviceType": "<string>",
"history": "<array>",
"paidWith": "<string>"
},
"_id": "<string>",
"orderNo": "<string>",
"__v": 123,
"amountSaved": 123,
"created": "<string>",
"customer": {
"_id": "<string>",
"shop": "<string>",
"full_name": "<string>",
"telephone": "<string>",
"intlTel": "<string>",
"whatsApp": "<string>",
"address": [
{
"line_1": "<string>",
"line_2": "<string>",
"state": "<string>",
"city": "<string>",
"country": "<string>",
"zip_code": "<string>",
"state_id": "<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>"
},
"shipping_state": "<string>",
"countryData": {
"_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
},
"cityData": {
"_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
},
"stateData": {
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"code": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
},
"description": "<string>",
"_id": "<string>"
}
],
"email": "<string>",
"__v": 123
},
"customerOrderCountUpdated": true,
"digital": true,
"discountAmount": 123,
"discountsApplied": "<array>",
"email": "<string>",
"intlTel": "<string>",
"isComplete": true,
"isDraft": true,
"modified": "<string>",
"notes": "<string>",
"paymentError": "<array>",
"paymentState": "<string>",
"paymentType": {
"supportedCurrencies": "<array>",
"supportedCountries": "<array>",
"isStandAlone": true,
"_id": "<string>",
"key": "<string>",
"__v": 123,
"canUseCustomKeys": true,
"description": "<string>",
"disabled": true,
"imageId": "<string>",
"imageUrl": "<string>",
"meta": {
"requiresBankAccount": true,
"supportsRecurringPayment": true
},
"name": "<string>",
"plans": [
"<string>"
],
"requiresKYC": true,
"standAlone": true,
"summary": [
{
"_id": "<string>",
"title": "<string>",
"description": "<string>"
}
],
"type": "<string>"
},
"payments": "<array>",
"products": [
{
"_id": "<string>",
"tags": [
{
"_id": "<string>",
"name": "<string>",
"tempId": "<string>",
"shop": "<string>",
"__v": 123,
"slug": "<string>",
"productCount": 123,
"imageUrl": "<string>"
}
],
"stock": 123,
"digital": true,
"media": "<string>",
"media_type": "<string>",
"name": "<string>",
"price": 123,
"shop": "<string>",
"sale_price": 123,
"__v": 123,
"draft": true,
"alwaysInStock": true,
"costPrice": 123,
"sku": "<string>",
"type": "<string>",
"slug": "<string>",
"dimension": {
"unit": "<string>",
"length": 123,
"width": 123,
"height": 123
},
"weight": {
"base": {
"unit": "<string>",
"value": 123
},
"unit": "<string>",
"value": 123
},
"variantsInheritPrice": true,
"setAttributesForVariants": true,
"qty": 123,
"variant": {
"_id": "<string>",
"price": 123,
"sale_price": 123,
"costPrice": 123,
"stock": 123,
"alwaysInStock": true,
"isActive": true,
"sku": "<string>",
"weight": {
"base": {
"unit": "<string>",
"value": 123
},
"unit": "<string>",
"value": 123
},
"media": "<string>",
"digital_download": {
"name": "<string>",
"url": "<string>",
"uuid": "<string>",
"size": "<unknown>",
"maxDownloadsPerOrder": "<unknown>"
},
"media_type": "<string>",
"dimension": {
"unit": "<string>",
"length": 123,
"width": 123,
"height": 123
},
"options": [
{
"label": "<string>",
"name": "<string>",
"id": "<string>"
}
]
},
"originalPrice": 123,
"finalPrice": 123,
"subTotal": 123,
"cartItemId": "<string>"
}
],
"shipping": 123,
"shippingMarkupAmount": 123,
"shop": "<string>",
"source": "<string>",
"status": {
"_id": "<string>",
"key": "<string>",
"name": "<string>",
"notes": "<string>",
"isSystemStatus": true,
"stage": "<string>",
"orderStatusActionOnUpdate": 123
},
"subTotal": 123,
"telephone": "<string>",
"total": 123,
"user": {
"kyc": {
"status": "<unknown>",
"attempts": 123,
"errors": "<array>"
},
"suspended": true,
"isActivated": true,
"isPseudoAccount": true,
"_id": "<string>",
"roles": [
"<string>"
],
"reset_pass": true,
"profiles": "<array>",
"social": [
{
"_id": "<string>",
"provider": "<string>",
"email": "<string>",
"id": "<string>"
}
],
"email": "<string>",
"username": "<string>",
"access_code": "<string>",
"__v": 123,
"full_name": "<string>",
"last_access": "<string>",
"reg_date": "<string>",
"shopCount": 123,
"test_user": true,
"telephone": "<string>",
"status": "<string>",
"addresses": [
{
"address": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"stateData": "<string>",
"countryData": "<string>",
"cityData": "<string>",
"area": "<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>"
},
"isDefault": true,
"_id": "<string>"
}
]
},
"whatsApp": true,
"paymentInfo": {
"bankAccounts": [
{
"accountName": "<string>",
"accountNumber": "<string>",
"bankName": "<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
}
}
],
"description": "<string>",
"action": "<string>",
"type": "<string>",
"canConfirmPayment": true,
"shippingPaidWith": "<string>",
"created": "<string>",
"_total": 123
}
},
"success": true
}Host: http://qshop.ng
curl --request GET \
--url http://staging.qshop.ng/apiv2/shops/{shopId}/orders/{orderId}{
"msg": "<string>",
"data": {
"paymentRef": {
"type": "<string>",
"transactionId": "<unknown>",
"initiatedWithCustomKeys": true
},
"purchaseCurrency": {
"snapshot": {
"baseRate": 123,
"currencyRate": 123,
"isBaseCurrency": true,
"isStoreFrontDefault": true
},
"currency": {
"_id": "<string>",
"code": "<string>",
"symbol": "<string>",
"nationality": "<string>",
"exchangeRate": 123,
"__v": 123,
"minimumProcessingAmount": 123,
"country": "<string>",
"name": "<string>"
},
"amount": 123,
"shipping": 123,
"shippingMarkupAmount": 123
},
"logistics": {
"trackingId": "<unknown>",
"trackingUrl": "<unknown>",
"waybill": "<unknown>",
"type": "<string>",
"rateSnapshot": {
"id": "<string>",
"_id": "<string>",
"name": "<string>",
"media": "<string>",
"rateType": "<string>",
"amount": 123,
"serviceType": "<string>",
"currency": "<string>",
"estimatedDeliveryETA": "<string>",
"estimatedPickupETA": "<string>",
"estimatedDeliveryETADateTime": "<string>",
"estimatedPickupETADateTime": "<string>",
"description": "<string>",
"courier": "<string>",
"provider": "<string>",
"type": "<string>",
"platform": "<string>",
"ratings": 123,
"meta": {
"courier_id": "<string>",
"courier_name": "<string>",
"courier_image": "<string>",
"service_code": "<string>",
"insurance": {
"code": "<string>",
"fee": 123
},
"discount": {
"percentage": 123,
"symbol": "<string>",
"discounted": 123
},
"service_type": "<string>",
"waybill": true,
"is_cod_available": true,
"tracking_level": 123,
"ratings": 123,
"votes": 123,
"connected_account": true,
"rate_card_amount": 123,
"pickup_eta": "<string>",
"pickup_eta_time": "<string>",
"dropoff_station": "<unknown>",
"pickup_station": "<unknown>",
"delivery_eta": "<string>",
"delivery_eta_time": "<string>",
"info": [
"<string>"
],
"currency": "<string>",
"vat": 123,
"total": 123,
"tracking": {
"bars": 123,
"label": "<string>"
},
"token": "<string>"
},
"preferenceStatus": "<string>",
"actualAmount": 123,
"markup": 123,
"markupMeta": "<unknown>"
},
"courier": {
"parcelConfig": {
"unit": {
"dimension": "<string>",
"weight": "<string>"
}
},
"_id": "<string>",
"name": "<string>",
"key": "<string>",
"isDefault": true,
"type": "<string>",
"defaultCourier": "<unknown>",
"media": "<string>",
"mediaType": "<string>",
"international": true,
"supportedCountries": [
"<string>"
],
"isDisabled": true,
"supportedAggregators": [
"<string>"
],
"initialMedia": "<string>",
"parcelCategories": "<array>"
},
"platform": "<string>",
"serviceType": "<string>",
"history": "<array>",
"paidWith": "<string>"
},
"_id": "<string>",
"orderNo": "<string>",
"__v": 123,
"amountSaved": 123,
"created": "<string>",
"customer": {
"_id": "<string>",
"shop": "<string>",
"full_name": "<string>",
"telephone": "<string>",
"intlTel": "<string>",
"whatsApp": "<string>",
"address": [
{
"line_1": "<string>",
"line_2": "<string>",
"state": "<string>",
"city": "<string>",
"country": "<string>",
"zip_code": "<string>",
"state_id": "<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>"
},
"shipping_state": "<string>",
"countryData": {
"_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
},
"cityData": {
"_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
},
"stateData": {
"_id": "<string>",
"name": "<string>",
"geoId": "<string>",
"countryCode": "<string>",
"countryGeoId": "<string>",
"code": "<string>",
"longitude": 123,
"latitude": 123,
"points": {
"type": "<string>",
"coordinates": [
123
],
"_id": "<string>"
},
"__v": 123
},
"description": "<string>",
"_id": "<string>"
}
],
"email": "<string>",
"__v": 123
},
"customerOrderCountUpdated": true,
"digital": true,
"discountAmount": 123,
"discountsApplied": "<array>",
"email": "<string>",
"intlTel": "<string>",
"isComplete": true,
"isDraft": true,
"modified": "<string>",
"notes": "<string>",
"paymentError": "<array>",
"paymentState": "<string>",
"paymentType": {
"supportedCurrencies": "<array>",
"supportedCountries": "<array>",
"isStandAlone": true,
"_id": "<string>",
"key": "<string>",
"__v": 123,
"canUseCustomKeys": true,
"description": "<string>",
"disabled": true,
"imageId": "<string>",
"imageUrl": "<string>",
"meta": {
"requiresBankAccount": true,
"supportsRecurringPayment": true
},
"name": "<string>",
"plans": [
"<string>"
],
"requiresKYC": true,
"standAlone": true,
"summary": [
{
"_id": "<string>",
"title": "<string>",
"description": "<string>"
}
],
"type": "<string>"
},
"payments": "<array>",
"products": [
{
"_id": "<string>",
"tags": [
{
"_id": "<string>",
"name": "<string>",
"tempId": "<string>",
"shop": "<string>",
"__v": 123,
"slug": "<string>",
"productCount": 123,
"imageUrl": "<string>"
}
],
"stock": 123,
"digital": true,
"media": "<string>",
"media_type": "<string>",
"name": "<string>",
"price": 123,
"shop": "<string>",
"sale_price": 123,
"__v": 123,
"draft": true,
"alwaysInStock": true,
"costPrice": 123,
"sku": "<string>",
"type": "<string>",
"slug": "<string>",
"dimension": {
"unit": "<string>",
"length": 123,
"width": 123,
"height": 123
},
"weight": {
"base": {
"unit": "<string>",
"value": 123
},
"unit": "<string>",
"value": 123
},
"variantsInheritPrice": true,
"setAttributesForVariants": true,
"qty": 123,
"variant": {
"_id": "<string>",
"price": 123,
"sale_price": 123,
"costPrice": 123,
"stock": 123,
"alwaysInStock": true,
"isActive": true,
"sku": "<string>",
"weight": {
"base": {
"unit": "<string>",
"value": 123
},
"unit": "<string>",
"value": 123
},
"media": "<string>",
"digital_download": {
"name": "<string>",
"url": "<string>",
"uuid": "<string>",
"size": "<unknown>",
"maxDownloadsPerOrder": "<unknown>"
},
"media_type": "<string>",
"dimension": {
"unit": "<string>",
"length": 123,
"width": 123,
"height": 123
},
"options": [
{
"label": "<string>",
"name": "<string>",
"id": "<string>"
}
]
},
"originalPrice": 123,
"finalPrice": 123,
"subTotal": 123,
"cartItemId": "<string>"
}
],
"shipping": 123,
"shippingMarkupAmount": 123,
"shop": "<string>",
"source": "<string>",
"status": {
"_id": "<string>",
"key": "<string>",
"name": "<string>",
"notes": "<string>",
"isSystemStatus": true,
"stage": "<string>",
"orderStatusActionOnUpdate": 123
},
"subTotal": 123,
"telephone": "<string>",
"total": 123,
"user": {
"kyc": {
"status": "<unknown>",
"attempts": 123,
"errors": "<array>"
},
"suspended": true,
"isActivated": true,
"isPseudoAccount": true,
"_id": "<string>",
"roles": [
"<string>"
],
"reset_pass": true,
"profiles": "<array>",
"social": [
{
"_id": "<string>",
"provider": "<string>",
"email": "<string>",
"id": "<string>"
}
],
"email": "<string>",
"username": "<string>",
"access_code": "<string>",
"__v": 123,
"full_name": "<string>",
"last_access": "<string>",
"reg_date": "<string>",
"shopCount": 123,
"test_user": true,
"telephone": "<string>",
"status": "<string>",
"addresses": [
{
"address": "<string>",
"line_1": "<string>",
"line_2": "<string>",
"stateData": "<string>",
"countryData": "<string>",
"cityData": "<string>",
"area": "<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>"
},
"isDefault": true,
"_id": "<string>"
}
]
},
"whatsApp": true,
"paymentInfo": {
"bankAccounts": [
{
"accountName": "<string>",
"accountNumber": "<string>",
"bankName": "<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
}
}
],
"description": "<string>",
"action": "<string>",
"type": "<string>",
"canConfirmPayment": true,
"shippingPaidWith": "<string>",
"created": "<string>",
"_total": 123
}
},
"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
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
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?