username:password
Authorization: Basic *****************
{
"priceId": 0,
"name": "string",
"shopId": "string",
"type": 0,
"customType": 0,
"priority": 0,
"isDeposit": true,
"depositAmount": 0,
"timeoutAmount": 0,
"timeoutDay": 0,
"freeMinutes": 0,
"dayUseFreeCount": 0,
"price": 0,
"priceTime": 0,
"priceUnit": 0,
"dailyMaxPrice": 0,
"priceStrategyDetailList": [
{
"startMinute": 0,
"endMinute": 0,
"setcionFee": 0,
"totalFee": 0,
"seqno": 0
}
]
}
curl --location --request POST 'https://developer.chargenow.top/cdb-open-api/v1/shop/priceStrategy/saveOrUpdate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"priceId": 0,
"name": "string",
"shopId": "string",
"type": 0,
"customType": 0,
"priority": 0,
"isDeposit": true,
"depositAmount": 0,
"timeoutAmount": 0,
"timeoutDay": 0,
"freeMinutes": 0,
"dayUseFreeCount": 0,
"price": 0,
"priceTime": 0,
"priceUnit": 0,
"dailyMaxPrice": 0,
"priceStrategyDetailList": [
{
"startMinute": 0,
"endMinute": 0,
"setcionFee": 0,
"totalFee": 0,
"seqno": 0
}
]
}'
{
"": {}
}