StatusCode: 409 when creating Cart using partner center api
Hi all,
For a project we use the partner center api. When creating a cart using
Occasionally I'm getting response errors when creating a Cart for a customer.
We use the following request json body:
{ "ExpirationTimestamp":"2020-05-19T00:00:00Z",
"LineItems":[
{
"BillingCycle":"Monthly",
"CatalogItemId":"DZH318Z0BPS6:0001:DZH318Z0BMGV",
"FriendlyName":"Azure plan db7f8966-0cf8-473e-8d48-42f32b73378c",
"Id":0,
"Participants":[
{
"Key":"TransactionReseller",
"Value":"6026721"
}
],
"ProvisioningContext":{
},
"Quantity":1
}
],
"Attributes":{
"ObjectType":"Cart"
}
}
As response I get:
"StatusCode: 409, ReasonPhrase: 'Conflict', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
MS-CorrelationId: 4bf560a1-e6c0-41e8-b54e-51b3f6836604
MS-RequestId: f0db34ea-82eb-4b85-a528-5719f1845f9b
X-Locale: en-US
Request-Context: appId=cid-v1:03ce8ca8-8373-4021-8f25-d5dd45c7b12f
Date: Mon, 18 May 2020 11:11:55 GMT
Content-Length: 67
Content-Type: application/json
}
Any idea, what is causing this conflict?