Exemplo de bodys de POSTS
Pedidos B2W
Apenas 1 item
Com 2 itens
Com 2 pagamentos
Com status cancelado
{
"orderCode": "012345678901",
"orderDate": "2018-01-01T12:00:00.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "B2W",
"invoiceDate": "2018-01-02T12:00:00.000+0000",
"invoiceNumber": "002569",
"customer": {
"documentNumber": "123456788990",
"name": "joão paulo"
},
"totalNetValue": 570.00,
"totalFreightValue": 70.00,
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "123654",
"items": [{
"idInMarketplace": "01-23456789",
"code": "4MD78",
"categories": [{
"code": "962",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-03T12:00:00.000+0000",
"quantity": 2,
"unitValue": 250.00,
"freightValue": 70.00,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}],
"payments": [{
"method": "CREDIT_CARD",
"date": "2018-01-02T10:00:00.000+0000",
"value": 570.00,
"installmentQuantity": 4
}]
}
{
"orderCode": "265648837302",
"orderDate": "2017-11-17T11:37:21.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "B2W",
"invoiceDate": "2017-11-30T10:50:21.000+0000",
"invoiceNumber": "16297",
"customer": {
"documentNumber": "32549879611",
"name": "maria da silva"
},
"totalNetValue": 381.13,
"totalFreightValue": 78.32,
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1376654",
"items": [{
"idInMarketplace": "02-369874125",
"code": "4532",
"categories": [{
"code": "924",
"name": "Informática",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 86.9,
"freightValue": 16.61,
"height": 7,
"width": 12,
"length": 14,
"weight": 0.4
}, {
"idInMarketplace": "02-369874125",
"code": "4519",
"categories": [{
"code": "924",
"name": "Informática",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 215.91,
"freightValue": 61.71,
"height": 5,
"width": 9,
"length": 10,
"weight": 0.2
}],
"payments": [{
"method": "BILLET",
"date": "2017-11-30T13:55:21.000+0000",
"value": 381.13,
"installmentQuantity": 1
}]
}
{
"orderCode": "265648837302",
"orderDate": "2017-11-17T11:37:21.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "B2W",
"invoiceDate": "2017-11-30T10:50:21.000+0000",
"invoiceNumber": "16297",
"customer": {
"documentNumber": "6546546354",
"name": "camila silva"
},
"totalNetValue": 381.13,
"totalFreightValue": 78.32,
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1376654",
"items": [{
"idInMarketplace": "02-587412369",
"code": "4532",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 86.9,
"freightValue": 16.61,
"height": 19,
"width": 54,
"length": 65,
"weight": 1.2
}, {
"idInMarketplace": "02-587412369",
"code": "4519",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 215.91,
"freightValue": 61.71,
"height": 40,
"width": 106,
"length": 32,
"weight": 1.9
}],
"payments": [{
"method": "BILLET",
"date": "2017-11-30T13:55:21.000+0000",
"value": 103.51,
"installmentQuantity": 1
}, {
"method": "CREDIT_CARD",
"date": "2017-11-30T13:55:21.000+0000",
"value": 277.62,
"installmentQuantity": 3
}]
}
{
"orderCode": "265648837302",
"orderDate": "2017-11-17T11:37:21.000+0000",
"orderStatus": "CANCELED",
"channelName": "B2W",
"invoiceDate": "2017-11-30T10:50:21.000+0000",
"invoiceNumber": "16297",
"customer": {
"documentNumber": "68746846546",
"name": "roger batista"
},
"totalNetValue": 381.13,
"totalFreightValue": 78.32,
"cancelDate": "2017-12-01T15:55:21.000+0000",
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1376654",
"items": [{
"idInMarketplace": "02-541236987",
"code": "4532",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 86.9,
"freightValue": 16.61,
"height": 2,
"width": 11,
"length": 10,
"weight": 0.4
}, {
"idInMarketplace": "02-541236987",
"code": "4519",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2017-11-30T15:55:21.000+0000",
"quantity": 1,
"unitValue": 215.91,
"freightValue": 61.71,
"height": 5,
"width": 12,
"length": 19,
"weight": 0.3
}],
"payments": [{
"method": "BILLET",
"date": "2017-11-30T13:55:21.000+0000",
"value": 103.51,
"installmentQuantity": 1
}, {
"method": "CREDIT_CARD",
"date": "2017-11-30T13:55:21.000+0000",
"value": 277.62,
"installmentQuantity": 3
}]
}
Pedidos Netshoes
Apenas 1 item
Com 2 itens
Com data de cancelamento
{
"orderCode": "987654321",
"orderDate": "2018-01-06T11:37:21.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "NETSHOES",
"invoiceDate": "2018-01-08T10:50:21.000+0000",
"invoiceNumber": "7341",
"customer": {
"documentNumber": "9874654654",
"name": "denise teixeira"
},
"totalNetValue": 815.28,
"totalFreightValue": 17.33,
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1640795",
"items": [{
"idInMarketplace": "987654321",
"code": "1768130",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-08T15:55:21.000+0000",
"quantity": 1,
"unitValue": 797.95,
"freightValue": 17.33,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}],
"payments": [{
"method": "BILLET",
"date": "2018-01-06T13:55:21.000+0000",
"value": 815.28,
"installmentQuantity": 1
}]
}
{
"orderCode": "123456789",
"orderDate": "2018-01-06T11:37:21.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "NETSHOES",
"invoiceDate": "2018-01-08T10:50:21.000+0000",
"invoiceNumber": "7341",
"customer": {
"documentNumber": "6876845122",
"name": "guilherme cabral"
},
"totalNetValue": 815.28,
"totalFreightValue": 17.33,
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1640795",
"items": [{
"idInMarketplace": "123456789",
"code": "1768130",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-08T15:55:21.000+0000",
"quantity": 1,
"unitValue": 597.95,
"freightValue": 15.33,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}, {
"idInMarketplace": "123456789",
"code": "1768130",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-08T15:55:21.000+0000",
"quantity": 1,
"unitValue": 200.00,
"freightValue": 2.00,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}],
"payments": [
{
"method": "BILLET",
"date": "2018-01-06T13:55:21.000+0000",
"value": 815.28,
"installmentQuantity": 1
}]
}
{
"orderCode": "321654987",
"orderDate": "2018-01-06T11:37:21.000+0000",
"orderStatus": "CONCLUDED",
"channelName": "NETSHOES",
"invoiceDate": "2018-01-08T10:50:21.000+0000",
"invoiceNumber": "7341",
"customer": {
"documentNumber": "746546543121",
"name": "tiago santana"
},
"totalNetValue": 815.28,
"totalFreightValue": 17.33,
"cancelDate": "2018-01-15T16:39:45.000+0000",
"interestValue": 0.00,
"discountValue": 0.00,
"orderIdHubOrigin" : "1640795",
"items": [{
"idInMarketplace": "321654987",
"code": "1768130",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-08T15:55:21.000+0000",
"quantity": 1,
"unitValue": 597.95,
"freightValue": 15.33,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}, {
"idInMarketplace": "321654987",
"code": "1768130",
"categories": [{
"code": "924",
"name": "Eletronicos",
"parentId": "12345",
"isLeafNode": false
}],
"sendDate": "2018-01-08T15:55:21.000+0000",
"quantity": 1,
"unitValue": 200.00,
"freightValue": 2.00,
"height": 6,
"width": 14,
"length": 16,
"weight": 0.3
}],
"payments": [{
"method": "BILLET",
"date": "2018-01-06T13:55:21.000+0000",
"value": 815.28,
"installmentQuantity": 1
}]
}