PHP code example of intelipost / magento2-pickup

1. Go to this page and download the library: Download intelipost/magento2-pickup library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

intelipost / magento2-pickup example snippets

json
{
 "stores": [
 {
 "id_loja": "L1100",
 "name": "Loja Teste 1100",
 "address": "Rua dr amancio de carvalho",
 "number": "182",
 "complement": "Vila Mariana",
 "zipcode": "04012-080",
 "city": "São Paulo",
 "state": "SP",
 "store_neighborhood": "Vila Mariana",
 "opening": "09:00 as 21:00",
 "begin_zipcode": "01000-000",
 "end_zipcode": "19999-999",
 "observations": null,
 "delivered_cdg": "1",
 "is_active": "1"
 }]
}