Exemplo JSON da resposta politica de desconto 561: {
"first": false,
"items": [
{ "branchId": "1",
"calculationBaseFecp": 0,
"calculationBaseIpi": 0,
"calculationBaseST": 0,
"erpReferenceKey": 13,
"externalSTAliquot": 0,
"fecp": 0,
"fecpAliquot": 0,
"fixedPrice": false,
"fixedPriceId": 0,
"ean": "303",
"internalSTAliquot": 0,
"ipi": 0,
"ipiAliquot": 0,
"lastChange": "2023-12-22T18:11:16",
"noTaxesPrice": 0,
"origin": 201,
"active": true,
"price": 6.47,
"pricingIpi": 0,
"pricingSt": 0,
"skuId": "303-13",
"st": 0,
"taxFigureId": 17,
"unitMultiplier": 1,
"priceRegion": 7,
"offerPrice": 0.00,
"offerStartDate": "2001-01-01T00:00:01",
"offerEndDate": "2999-12-31T23:59:59",
"discountPolicy": {
"id": 1561,
"automaticDiscountPercentage": 1,
"startDate": "2023-12-22T00:00:00",
"endDate": "2023-12-23T23:59:59",
"discount": 6.41,
"deleted": false
},
"useSaleWithPackaging": false,
"principalSKUId": "303-13",
"gnreST": false }
],
"hasNext": false
} |
Exemplo JSON da resposta preço fixo 357: {
"first": false,
"items": [
{
"branchId": "1",
"calculationBaseFecp": 0,
"calculationBaseIpi": 0,
"calculationBaseST": 0,
"erpReferenceKey": 13,
"externalSTAliquot": 0,
"fecp": 0,
"fecpAliquot": 0,
"fixedPrice": false,
"fixedPriceId": 0,
"ean": "303",
"internalSTAliquot": 0,
"ipi": 0,
"ipiAliquot": 0,
"lastChange": "2023-12-22T18:11:16",
"noTaxesPrice": 0,
"origin": 201,
"active": true,
"price": 6.47,
"pricingIpi": 0,
"pricingSt": 0,
"skuId": "303-13",
"st": 0,
"taxFigureId": 17,
"unitMultiplier": 1,
"priceRegion": 7,
"offerPrice": 0.00,
"offerStartDate": "2001-01-01T00:00:01",
"offerEndDate": "2999-12-31T23:59:59",
"useSaleWithPackaging": false,
"principalSKUId": "303-13",
"gnreST": false
},
{
"branchId": "1",
"calculationBaseFecp": 0,
"calculationBaseIpi": 0,
"calculationBaseST": 0,
"erpReferenceKey": 13,
"externalSTAliquot": 0,
"fecp": 0,
"fecpAliquot": 0,
"fixedPrice": true,
"fixedPriceId": 2628,
"ean": "303",
"internalSTAliquot": 0,
"ipi": 0,
"ipiAliquot": 0,
"lastChange": "2023-12-22T18:11:16",
"noTaxesPrice": 0,
"origin": 357,
"active": true,
"price": 10.0000,
"pricingIpi": 0,
"pricingSt": 0,
"skuId": "303-13",
"st": 0,
"taxFigureId": 17,
"unitMultiplier": 1,
"priceRegion": 0,
"offerPrice": 0.0000,
"offerStartDate": "2023-12-22T00:00:01",
"offerEndDate": "2023-12-24T23:59:59",
"useSaleWithPackaging": false,
"principalSKUId": "303-13",
"gnreST": false
}
],
"hasNext": false
} |
Obs.: Na busca de preços, deverá ser ordenado o preço para trazer o preço da 357 por último para cada um dos produtos. Ordem correta -> 201, 561, 357. |