0% found this document useful (0 votes)
16 views

JSON Response

There was an error with an order due to inconsistent shipping details between the quantities of items in the order and the total quantity specified for shipping. Specifically, one line item had a quantity of 3 but the shipping total was only 1, and another line item had a quantity of 4 but the shipping total was only 1. The customer received an error message instructing them to try placing the order again.

Uploaded by

manjeet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

JSON Response

There was an error with an order due to inconsistent shipping details between the quantities of items in the order and the total quantity specified for shipping. Specifically, one line item had a quantity of 3 but the shipping total was only 1, and another line item had a quantity of 4 but the shipping total was only 1. The customer received an error message instructing them to try placing the order again.

Uploaded by

manjeet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

{

"errorCode": 500,
"body": "Sorry, there is some problem with your order. Please try again",
"checkout_state": "payment-checkoutOrderError",
"errorMessage": {
"code": 400,
"statusCode": 400,
"status": 400,
"message": "Inconsistent shipping details for LineItem with ID '796796de-
bc3f-4cc3-acc0-6b9a5ed6fcc9'. LineItem quantity is 3 and shippingTargets quantity
sum is 1.",
"originalRequest": {
"baseUri": "https://api.europe-west1.gcp.commercetools.com",
"method": "POST",
"uriTemplate": "/{projectKey}/orders",
"pathVariables": {
"projectKey": "aafes-dev"
},
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
},
"queryParams": {
"expand": [
"lineItems[*].discountedPrice.includedDiscounts[*].discount",
"discountCodes[*].discountCode",
"paymentInfo.payments[*]",
"lineItems[*].price.discounted.discount.id",

"lineItems[*].discountedPrice.includedDiscounts[*].discount.id",

"lineItems[*].discountedPricePerQuantity[*].discountedPrice.includedDiscounts[*].di
scount.id",
"lineItems[*].variant.attributes[*].value[*]",
"lineItems[*].custom.fields.attachments[*]",
"shipping[*].shippingInfo.shippingMethod",
"lineItems[*].productType",
"lineItems[*].variant.attributes[*].value[*]",

"lineItems[*].variant.attributes[*].value[*].value.configurationOptions.value.produ
ct",

"lineItems[*].variant.attributes[*].value[*].value.configurationOptions.value.produ
ctGroups[*]"
]
},
"body": {
"id": "ec208e8f-3a00-48bd-9f4e-a05fb17003d6",
"version": 58,
"orderNumber": "1310006015",
"custom": {
"type": {
"typeId": "type",
"key": "aafesOrder"
},
"fields": {}
}
},
"uri": "/aafes-dev/orders?expand=lineItems%5B*
%5D.discountedPrice.includedDiscounts%5B*%5D.discount&expand=discountCodes%5B*
%5D.discountCode&expand=paymentInfo.payments%5B*%5D&expand=lineItems%5B*
%5D.price.discounted.discount.id&expand=lineItems%5B*
%5D.discountedPrice.includedDiscounts%5B*%5D.discount.id&expand=lineItems%5B*
%5D.discountedPricePerQuantity%5B*%5D.discountedPrice.includedDiscounts%5B*
%5D.discount.id&expand=lineItems%5B*%5D.variant.attributes%5B*%5D.value%5B*
%5D&expand=lineItems%5B*%5D.custom.fields.attachments%5B*%5D&expand=shipping%5B*
%5D.shippingInfo.shippingMethod&expand=lineItems%5B*
%5D.productType&expand=lineItems%5B*%5D.variant.attributes%5B*%5D.value%5B*
%5D&expand=lineItems%5B*%5D.variant.attributes%5B*%5D.value%5B*
%5D.value.configurationOptions.value.product&expand=lineItems%5B*
%5D.variant.attributes%5B*%5D.value%5B*
%5D.value.configurationOptions.value.productGroups%5B*%5D"
},
"retryCount": 0,
"headers": {
"content-type": [
"application/json; charset=utf-8"
],
"x-http-status-caused-by-external-upstream": [
"false"
],
"access-control-allow-origin": [
"*"
],
"access-control-allow-headers": [
"Accept, Authorization, Content-Type, Origin, User-Agent, X-
Correlation-ID"
],
"access-control-allow-methods": [
"GET, POST, DELETE, OPTIONS"
],
"access-control-expose-headers": [
"X-Correlation-ID"
],
"access-control-max-age": [
"299"
],
"x-correlation-id": [
"projects-5c6688c2-2498-4a42-810c-76eb26e018a1"
],
"server-timing": [
"projects;dur=23"
],
"content-encoding": [
"gzip"
],
"x-envoy-upstream-service-time": [
"24"
],
"date": [
"Mon, 18 Sep 2023 12:43:38 GMT"
],
"server": [
"istio-envoy"
],
"via": [
"1.1 google"
],
"alt-svc": [
"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
],
"connection": [
"close"
],
"transfer-encoding": [
"chunked"
]
},
"body": {
"statusCode": 400,
"message": "Inconsistent shipping details for LineItem with ID
'796796de-bc3f-4cc3-acc0-6b9a5ed6fcc9'. LineItem quantity is 3 and shippingTargets
quantity sum is 1.",
"errors": [
{
"code": "InvalidItemShippingDetails",
"message": "Inconsistent shipping details for LineItem with ID
'796796de-bc3f-4cc3-acc0-6b9a5ed6fcc9'. LineItem quantity is 3 and shippingTargets
quantity sum is 1.",
"itemId": "796796de-bc3f-4cc3-acc0-6b9a5ed6fcc9"
},
{
"code": "InvalidItemShippingDetails",
"message": "Inconsistent shipping details for LineItem with ID
'c0bca1c9-3964-41ff-8fbd-34c0ebbbf2cc'. LineItem quantity is 4 and shippingTargets
quantity sum is 1.",
"itemId": "c0bca1c9-3964-41ff-8fbd-34c0ebbbf2cc"
}
]
},
"name": "BadRequest"
}
}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy