{
"salesId": 0,
"customerId": 0,
"name": "string",
"stage": 0,
"expectedDealTime": "string",
"expectedDealAmount": 0,
"fields": [
{
"fieldId": "string",
"value": "string"
}
],
"commodities": [
{
"id": "string",
"banner": "string",
"spuId": 0,
"spuTitle": "string",
"skuId": 0,
"skuDetail": "string",
"unitPriceOrigin": 0,
"unitPriceSale": 0,
"count": 0,
"totalAmount": 0,
"totalAmountFinal": 0
}
],
"customerOpportunityId": 0
}
curl --location --request POST '/api/v3/opportunity/update' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"salesId": 0,
"customerId": 0,
"name": "string",
"stage": 0,
"expectedDealTime": "string",
"expectedDealAmount": 0,
"fields": [
{
"fieldId": "string",
"value": "string"
}
],
"commodities": [
{
"id": "string",
"banner": "string",
"spuId": 0,
"spuTitle": "string",
"skuId": 0,
"skuDetail": "string",
"unitPriceOrigin": 0,
"unitPriceSale": 0,
"count": 0,
"totalAmount": 0,
"totalAmountFinal": 0
}
],
"customerOpportunityId": 0
}'
{
"code": 0,
"message": "success",
"data": null
}