Last active
March 28, 2019 16:38
-
-
Save devsdmf/a6334094a6c9d89f5737bb10e98707e9 to your computer and use it in GitHub Desktop.
Test shipping options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rates": [ | |
{ | |
"name": "Standard Shipping", | |
"code": "standard", | |
"price": 0.00, | |
"price_merchant": 14.15, | |
"currency": "BRL", | |
"type": "ship", | |
"min_delivery_date": "2016-07-14T14:48:45-0300", | |
"max_delivery_date": "2016-07-17T14:48:45-0300", | |
"phone_required": true, | |
"reference": "ref123" | |
}, | |
{ | |
"name": "Express Shipping", | |
"code": "express", | |
"price": 28.15, | |
"currency": "BRL", | |
"type": "ship", | |
"min_delivery_date": "2016-07-12T14:48:45-0300", | |
"max_delivery_date": "2016-07-13T14:48:45-0300", | |
"id_required": true, | |
"reference": "ref123" | |
}, | |
{ | |
"name": "Shipping branch #1", | |
"code": "pickup_1", | |
"price": 14.15, | |
"currency": "BRL", | |
"type": "pickup", | |
"min_delivery_date": "2016-07-14T14:48:45-0300", | |
"max_delivery_date": "2016-07-17T14:48:45-0300", | |
"phone_required": true, | |
"id_required": true, | |
"accepts_cod": true, | |
"address": { | |
"address": "Alameda Vicente Pinzon", | |
"number": "173", | |
"floor": "8 andar", | |
"locality": "Vila Olímpia", | |
"city": "São Paulo", | |
"province": "São Paulo", | |
"country": "BR", | |
"phone": "+55 11 99999-9999", | |
"zipcode": "04547130", | |
"latitude": "123456", | |
"longitude": "-123456" | |
}, | |
"hours": [ | |
{ | |
"day": 1, | |
"start": "0900", | |
"end": "1800" | |
}, | |
{ | |
"day": 2, | |
"start": "0900", | |
"end": "1800" | |
}, | |
{ | |
"day": 3, | |
"start": "0900", | |
"end": "1800" | |
}, | |
{ | |
"day": 4, | |
"start": "0900", | |
"end": "1800" | |
}, | |
{ | |
"day": 5, | |
"start": "0900", | |
"end": "1800" | |
} | |
], | |
"availability": false, | |
"reference": "ref123" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment