Ambiente : SANDBOX Endpoint : https://sandbox.sellingpartnerapi-eu.amazon.com [1/3] Access token ottenuto. [2/3] Tariffe ricevute: 1 opzioni. Scelta: SWA-IT-PRIME-PREM — 20 EUR Payload purchaseShipment: { "rateId": "95602a4d77befc45166ddcf88e41c3aca3b93bdaea8ffe8950414ffdd41b285e1781335668193", "requestedDocumentSpecification": { "format": "PNG", "size": { "width": 4, "length": 6, "unit": "INCH" }, "pageLayout": "DEFAULT", "dpi": 300, "needFileJoining": false, "requestedDocumentTypes": [ "LABEL" ] }, "additionalInputs": {} } purchaseShipment → 403, tento oneClickShipment... Payload oneClickShipment: { "shipTo": { "name": "Mario Rossi", "addressLine1": "Via dei Servi 12", "city": "Firenze", "stateOrRegion": "FI", "postalCode": "50122", "countryCode": "IT", "email": "mario.rossi@email.it", "phoneNumber": "+393331234567" }, "shipFrom": { "name": "Il Tuo Negozio SRL", "addressLine1": "Via Indipendenza 1", "city": "Bologna", "stateOrRegion": "BO", "postalCode": "40121", "countryCode": "IT", "email": "spedizioni@tuonegozio.it", "phoneNumber": "+390212345678" }, "packages": [ { "packageClientReferenceId": "PKG-001", "dimensions": { "length": 30, "width": 20, "height": 15, "unit": "CENTIMETER" }, "weight": { "value": 1.5, "unit": "KILOGRAM" }, "items": [ { "itemValue": { "value": 29.99, "unit": "EUR" }, "description": "Prodotto di esempio", "itemIdentifier": "SKU-001", "quantity": 1, "weight": { "value": 1.5, "unit": "KILOGRAM" } } ], "insuredValue": { "value": 29.99, "unit": "EUR" } } ], "channelDetails": { "channelType": "EXTERNAL" }, "serviceSelection": { "serviceId": [ "SWA-IT-PRIME-PREM" ] }, "labelSpecifications": { "format": "PDF", "size": { "width": 4, "length": 6, "unit": "INCH" }, "dpi": 300, "pageLayout": "DEFAULT", "needFileJoining": false, "requestedDocumentTypes": [ "LABEL" ] } } [3/3] Spedizione acquistata. Etichetta salvata: /var/www/html/API/UAT/label_IT3339239774.pdf ═══════════════════════════════════════ ✅ SPEDIZIONE CREATA CON SUCCESSO ═══════════════════════════════════════ Shipment ID : amzn1.sid.95582078775841.100 Tracking ID : IT3339239774 Servizio : SWA-IT-PRIME-PREM Costo : 20 EUR Etichetta : /var/www/html/API/UAT/label_IT3339239774.pdf Ritiro : 2026-06-15T12:30:00Z → 2026-06-15T17:00:00Z Consegna est.: 2026-06-17T18:00:00Z → 2026-06-17T18:00:00Z