Domande frequenti sulla Gestione logistica diretta del fornitore
Domande frequenti sulla SP-API di gestione logistica diretta per i fornitori.
Riconoscimenti d'ordine
Posso usare submitAcknowledgement
operazione per aumentare la quantità che ho inviato nell'ordine di acquisto originale?
submitAcknowledgement
operazione per aumentare la quantità che ho inviato nell'ordine di acquisto originale?Seleziona per espandere la risposta.
No. You can't specify a higher quantity in the order acknowledgment than the quantity that you submitted in the purchase order.
Devo inviare una conferma d'ordine per ogni ordine di acquisto?
Seleziona per espandere la risposta.
Yes. To update the status of an order, you must confirm the purchase order by using the SP-API or Vendor Central. If you can't meet the order acknowledgement requirements by using the SP-API, you must confirm your purchase orders by using Vendor Central. If you don't have a Vendor Central account, contact your Amazon business representative.
Devo specificare ogni voce dell'ordine di acquisto nella conferma d'ordine corrispondente?
Seleziona per espandere la risposta.
Yes. This information is required to update the order status.
Come posso segnalare articoli non validi su un ordine quando invio una conferma d'ordine?
Seleziona per espandere la risposta.
Return the invalid item number in the acknowledgment and use the appropriate order acknowledgement code. For a list of codes, refer to Business Requirements. Don't process or ship an item that arrives with an invalid item number on the order.
Devo restituire lo stesso identificativo del prodotto nella conferma dell'ordine che ho ricevuto nella transazione dell'ordine?
Seleziona per espandere la risposta.
Yes. Acknowledgments must return exactly the same product identifier that the purchase order specifies.
Devo fornire un codice di conferma dell'ordine per tutte le voci?
Seleziona per espandere la risposta.
Yes. You must provide an acknowledgement code so that we can update the status of the order.
Qual è la politica sulle spedizioni parziali? Come devo segnalare le spedizioni parziali quando invio una conferma d'ordine?
Seleziona per espandere la risposta.
Partial shipments aren't allowed. You must either confirm or reject the full order.
Modifiche all'ordine
Posso modificare un ordine utilizzando l'API Vendor Direct Fulfillment Orders?
Seleziona per espandere la risposta.
No. You can't use the Vendor Direct Fulfillment Orders API to change an order.
Conferme di spedizione
Come posso evitare errori nell'invio delle conferme di spedizione?
Seleziona per espandere la risposta.
To verify the status of your shipment confirmations, you can use Vendor Central or the Direct Fulfillment Transaction Status API. Give the system up to ten minutes to update the status.
To avoid common errors, review the following information:
- Use the Direct Fulfillment Transaction Status API to confirm the shipment of an order within four hours after the order ships from your warehouse.
- For floor-denied shipments, set the
shipmentStatus
parameter toFLOOR_DENIAL
. - Include all the purchase order line items in the shipment confirmation. Partial order fulfillment isn't allowed. If any line items aren't available, reject the order as a floor denial.
- Set the
itemSequenceNumber
parameter for an item to the value that it has in the order message. - You must provide
buyerProductIdentifier
orvendorProductIdentifier
in the shipment confirmation. You must send the same value as the purchase order specifies. - For Vendor-Own-Carrier (VOC) vendors, you must include the
scacCode
parameter. - If Amazon provides the shipping label, the
container
details are optional because Amazon has access to the package information. You must submit theitems
details.
Documenti di imballaggio
Devo includere un documento di trasporto per tutti gli ordini?
Seleziona per espandere la risposta.
You must include a packing slip in the following cases:
- The order is a business-to-business (
B2B
) order or a gift order. - The
isPslipRequired
parameter in the order message istrue
.
Fatture
Qual è il formato della fattura di un cliente?
Seleziona per espandere la risposta.
A customer invoice is a PDF file in binary64 string format. For the IN region, include a customer invoice with the shipment of all purchase orders.
Registrazione del profilo sviluppatore
È richiesta la registrazione del profilo sviluppatore?
Seleziona per espandere la risposta.
Yes. Approval of your developer profile is required for you to use the Vendor Direct Fulfillment APIs. To integrate with the Vendor Direct Fulfillment APIs, you must submit your developer profile with the Direct to Consumer Shipping (Restricted) role when you register in Vendor Central. Our vetting team then performs the assessment. This assessment can take up to five business days. The outcome is either an approval or feedback on why the request is denied.
Devo registrare client applicativi separati per l'accesso all'API delle etichette di spedizione al dettaglio e a consegna diretta?
Seleziona per espandere la risposta.
No. API integration is based on roles. To get access to the APIs, you can create one application client and add the required roles. If you need to use both the retail and direct fulfillment APIs, your application can have both roles.
Il mio account Vendor Central contiene due codici fornitore. Devo inviare un modulo di registrazione per sviluppatori separato per entrambi i codici fornitore?
Seleziona per espandere la risposta.
Yes. You must submit a separate developer registration form for each vendor code.
Di quale ruolo ho bisogno per accedere all'integrazione dell'API Vendor Direct Fulfillment?
Seleziona per espandere la risposta.
To access the Vendor Direct Fulfillment API, you must have the Direct to Consumer Shipping (Restricted) role in your developer registration form. This role is restricted because it allows access to Personally Identifiable Information (PII) about Amazon buyers. As a result, you must provide additional information about your data use and security controls.
Posso modificare le risposte nel modulo di registrazione per sviluppatori dopo averlo inviato?
Seleziona per espandere la risposta.
No. After you submit the form, you must wait until your form is accepted or rejected to make changes.
Cosa devo fare se il mio modulo di registrazione per sviluppatori viene rifiutato?
Seleziona per espandere la risposta.
After you submit the developer registration form, our system automatically creates a case. It can take up to five business days for our vetting team to review your case and provide the outcome. If your case is approved, you can create an application in Vendor Central.
If your case is denied, you receive an explanatory email at the primary email address that you provided with the form. Review the comments from our vetting team. To understand the changes that you must implement, review Amazon's Data Protection Policy and Acceptable Use Policy. After you make the changes, you can resubmit the form.
Autorizzazione
Come posso ottenere i miei token e le mie credenziali per accedere all'API?
Seleziona per espandere la risposta.
After you create an application in Vendor Central, you must self-authorize your application to generate your Login with Amazon (LWA) refresh token. You can use this refresh token to generate the access token that is required to access the API.
Il token di accesso LWA scade?
Seleziona per espandere la risposta.
Sì Il token di accesso è valido solo per 60 minuti. Devi ottenere un nuovo token di accesso ogni volta che chiami l'API.Il token di aggiornamento scade?
Seleziona per espandere la risposta.
The refresh token is valid for one year. You can generate a refresh token at any time from your app in Vendor Central.
Perché ricevo l'errore «Accesso negato non autorizzato» (codice di errore 403) in risposta alla mia richiesta API dopo l'approvazione del mio profilo di sviluppatore?
Seleziona per espandere la risposta.
If you get an access denied error for your API request, review the following troubleshooting tips:
- Verify that the account is in the same region as the endpoint in the request. Applications are global; seller accounts are not.
- Verify that your application has access to the API.
- After your developer registration form is approved, verify that you have access to the Direct to Consumer Shipping (Restricted) role.
- If the error persists, file a support case to Amazon. Include the following details in the support case:
- Application ID
- Request ID with timestamp
- API operation (specify if it is a sandbox request)
- Error response received
Spedizione
Entro quando devo spedire un ordine?
Seleziona per espandere la risposta.
You must ship the order from the warehouse by the date specified in requiredShipDate
. In contrast, the promisedDeliveryDate
parameter is the date that we promised to deliver the order to the customer.
Creazione di etichette di spedizione utilizzando l'API Vendor Direct Fulfillment Shipping
Posso richiedere un'etichetta di spedizione per un ordine con consegna diretta prima di confermare l'ordine?
Seleziona per espandere la risposta.
No. You must acknowledge the order before you submit the shipping label request.
Quali chiamate API sono necessarie per l'integrazione delle etichette di spedizione?
Seleziona per espandere la risposta.
Make one synchronous API call to the createShippingLabels
operation per order.
È il createShippingLabels
funzionamento sincrono?
createShippingLabels
funzionamento sincrono?Seleziona per espandere la risposta.
SìQual è la latenza del createShippingLabels
operazione?
createShippingLabels
operazione?Seleziona per espandere la risposta.
The latency for the createShippingLabels
operation is between three and five seconds.
Posso chiamare il createShippingLabels
funzionamento in lotti? Qual è la dimensione massima del lotto?
createShippingLabels
funzionamento in lotti? Qual è la dimensione massima del lotto?Seleziona per espandere la risposta.
Yes. You can submit requests to createShippingLabels
in batches. You can also make multiple single-label or batch requests in parallel. A batch file can have shipping label requests for a maximum of 100 orders. To reduce label retrieval latency, keep the batch size to 10-15 requests.
For batches, you must use the submitShippingLabelRequest
operation, which is asynchronous, and then call the getShippingLabel
operation to get the generated shipping labels.
Quando devo richiedere le etichette di spedizione utilizzando l'API?
Seleziona per espandere la risposta.
Submit shipping label requests between the carrier pick-up time of the previous day of the expected ship date and the actual day of shipping. If you submit requests earlier, a label flip might occur. Requests might also fail if you reach the capacity limits on that day.
Posso omettere i dettagli del contenitore quando creo etichette di spedizione utilizzando l'API?
Seleziona per espandere la risposta.
The container details are only required for multi-box scenarios. You can omit the container details for single-box orders. You can request shipping labels for single-box orders by providing only the purchase order number, the vendor code (sellingParty
), and the warehouse code (shipFromParty
) in the request. In this case, Amazon generates the shipping label based on the item details in the catalog.
Posso inviare una richiesta di etichetta di spedizione parziale?
Seleziona per espandere la risposta.
No. Partial shipping label requests are rejected. You must use one shipping label request to for all the items in the order, even if the items cannot fit in one box. If you can't submit all the items in the order in one shipping label request, you must cancel the order.
Per un ordine con due articoli, posso inviare una richiesta di etichetta di spedizione con i dettagli del pacco per uno solo degli articoli?
Seleziona per espandere la risposta.
No. You must include the package details for all the items in the purchase order. Partial shipments aren't supported.
Per un ordine in cui un ASIN richiede più contenitori, deve amount
del packedQuantity
in ogni contenitore della richiesta dell'etichetta di spedizione corrisponde la quantità totale di articoli spediti?
amount
del packedQuantity
in ogni contenitore della richiesta dell'etichetta di spedizione corrisponde la quantità totale di articoli spediti?Seleziona per espandere la risposta.
Yes. The amount
of packedQuantity
must match the total quantity of the items to ship, not the total quantity of the items packed in that container. The pieceNumber
in the containers acts as a trigger for our system to produce multiple tracking numbers for the order. If the quantities don't match, our system returns a NOT_ALL_ITEMS_PRESENT
error.
The following code shows an example of a submitShippingLabelRequest
request that includes pieceNumber
.
"containers": [
{
"containerIdentifier": "145267052",
"packedItems": [
{
"itemSequenceNumber": 1,
"pieceNumber": 1,
"packedQuantity": {
"amount": 1,
"unitOfMeasure": "EA"
}
}
],
"containerType": "carton",
"weight": {
"unitOfMeasure": "LB",
"value": "51.79"
},
"dimensions": {
"unitOfMeasure": "IN",
"length": "30",
"width": "40",
"height": "30"
}
}
]
The following example shows an error message that's returned if the packed quantity doesn't match the total quantity of items.
[
{
"errorCode":"NOT_ALL_ITEMS_PRESENT",
"errorStringId":"DF-ORDER-NOT-ALL-ITEMS-PRESENT-ERROR",
"errorText":"Request Rejected: Order quantity does not match the shipped quantity. All items in the order must be provided.",
"errorTokens": {
"shipmentId":"MWRQMCdN2"
},
"actionStringId":"DF-ORDER- NOT-ALL-ITEMS-PRESENT-ACTION","actionText":"Ensure you add the correct quantity of shipped items to packages. For items - B084HNL8FH, the expected quantity is 2, but the provided quantity is 1.",
"actionTokens": {
"expectedQuantity":"2",
"fnSku":"B084HNL8FH",
"providedQuantity": "1"
}
}
]
Devo includere uno SKU del fornitore e un ASIN nelle richieste di etichette di spedizione?
Seleziona per espandere la risposta.
No. Shipping label requests don't require a vendor SKU or an ASIN.
Quanto è importante il numero di sequenza dell'articolo? Posso utilizzare il mio numero di sequenza nella richiesta dell'etichetta di spedizione?
Seleziona per espandere la risposta.
You must include an item sequence number if you include container details. The item sequence number for each item in the shipping label request must match the item sequence number that you receive in the purchase order.
Posso ricevere più etichette se invio una richiesta di etichetta di spedizione senza i dettagli del contenitore?
Seleziona per espandere la risposta.
Yes. You can receive multiple labels if the ASIN is defined in the catalog as a multi-box item.
Quando un ordine di acquisto richiede più scatole, ha importanza l'etichetta che metto su ciascuna scatola? In caso affermativo, qual è l'identificativo univoco del pacco che mi consente di abbinare ciascuna etichetta alla scatola corretta?
Seleziona per espandere la risposta.
Yes. If the order requires more than one box, each label must be on the correct box because Amazon needs to know the dimensions and weights of each box to accurately assign shipping methods. In this case, you must assign unique parcel identifiers and pass the parcel identifiers in the containerIdentifier
parameters of the shipping label request. The containerIdentifier
parameters associate the shipping label with the correct package.
The value that you specify for containerIdentifier
in the shipping label request is returned as packageIdentifier
in the getShippingLabel
response.
If you only ship one box for an order, you only need to include the purchase order number, the vendor code, and the warehouse code in the shipping label request.
The following code shows an example of a shipping label request.
{
"sellingParty": {
"partyId": "999US"
},
"shipFromParty": {
"partyId": "ABCD",
"containers": [
{
"containerIdentifier": "145267052",
"packedItems": [
{
"itemSequenceNumber": 1,
"pieceNumber": 1,
"packedQuantity": {
"amount": 1,
"unitOfMeasure": "EA"
}
}
],
"containerType": "carton",
"weight": {
"unitOfMeasure": "LB",
"value": "51.79"
},
"dimensions": {
"unitOfMeasure": "IN",
"length": "30",
"width": "40",
"height": "30"
}
}
]
}
}
The following code shows an example of a shipping label response.
{
"labelData": [
{
"shipMethod": "AMZL_US_SH",
"packageIdentifier": "111",
"trackingNumber": "TBA000123456",
"content": "Base64EncodedLabelData"
},
{
"shipMethod": "AMZL_US_SH",
"packageIdentifier": "145267052",
"trackingNumber": "TBA000123457",
"content": "Base64EncodedLabelData"
}
],
"sellingParty": {
"partyId": "999US"
},
"labelFormat": "PNG",
"purchaseOrderNumber": "12345",
"shipFromParty": {
"partyId": "ABCD"
}
}
Devo specificare le dimensioni nelle mie richieste di etichette di spedizione?
Seleziona per espandere la risposta.
Yes. If you include the containers
array in a shipping label request, you must include valid dimensions. If you don't include dimensions, the API returns the following error message.
"code": "INVALID_MESSAGE_PAYLOAD", "message": "Invalid input field Length.", "details": "Please correct the input and try again."
Devo specificare i pesi nelle mie richieste di etichette di spedizione?
Seleziona per espandere la risposta.
Yes. If you include the containers
array in the shipping label request, you must include a weight. If you don't include the weight, the API returns the following error message.
"code": "INVALID_MESSAGE_PAYLOAD", "message": "Invalid input field PackageWeight.", "details": "Please correct the input and try again."
Posso inviare 0
come valore per weight
in una richiesta di etichetta di spedizione?
0
come valore per weight
in una richiesta di etichetta di spedizione?Seleziona per espandere la risposta.
No. The weight must be a valid value. If you use an invalid value, such as 0
, the API returns the following error message.
"code": "PACKAGE_WEIGHT_NOT_VALID", "message": "Request Rejected: Order ID M4qxXXXX has invalid package weights", "details": "Please add valid weight for your package(s)."
Il peso e le dimensioni del pacco nella richiesta dell'etichetta di spedizione devono corrispondere al peso e alle dimensioni dell'articolo nel catalogo Amazon?
Seleziona per espandere la risposta.
Yes. If they don't match, the API might return a NO_SHIP_METHOD_ASSIGNABLE
error.
Perché il peso del pacco che fornisco nella mia richiesta di etichetta di spedizione non corrisponde al peso del pacco sulla mia etichetta di spedizione?
Seleziona per espandere la risposta.
If you provide the package weight as a decimal value, our system rounds it up to the nearest integer. If you require the package weights to match, send an integer value in your shipping label request. Amazon ships the package regardless of the weight on the label.
L'unità di misura (UDM) sulla richiesta dell'etichetta di spedizione è obbligatoria?
Seleziona per espandere la risposta.
Yes. The UOM is required if you provide container details. The UOM must be standard and the dimensions and weights must represent actual measurements of the shipped packages. The UOM in PackedItem
is a string.
L'etichetta di spedizione include il numero di tracciamento che fornisco nella richiesta dell'etichetta di spedizione?
Seleziona per espandere la risposta.
No. Amazon ignores any tracking number that you specify in the shipping label request. Amazon generates the tracking number and returns it in the API response.
L'etichetta di spedizione include l'ID del pacco che fornisco nella richiesta dell'etichetta di spedizione?
Seleziona per espandere la risposta.
The answer depends on whether you specify container details in the request. If you specify container details in the request, the shipping label includes the package ID.
Quali formati di etichette posso scaricare?
Seleziona per espandere la risposta.
Labels are available in ZPL and PNG formats. The content of the label is a Base64 string. You must convert the Base64 string into a format that you support. By default, the label format is PNG. If you want the label format to be ZPL, you can change the label format setting in Vendor Central under Warehouse Settings.
Posso omettere i dati del pacco o dell'articolo da una richiesta di etichetta di spedizione?
Seleziona per espandere la risposta.
Yes. You can request shipping labels by providing only the required parameters, which are order ID, vendor code (sellingParty
), and warehouse code (shipFromParty
). Amazon gets the information about the items from the catalog. However, if you have custom information, such as in a multiple-box scenario, you must provide package data when you request shipping labels. In this case, package data is required so that the shipping labels correspond to the correct dimensions.
Perché non getShippingLabels
operazione restituire le etichette di spedizione?
getShippingLabels
operazione restituire le etichette di spedizione?Seleziona per espandere la risposta.
Before you can get shipping labels, you must create the labels. To create the labels, call the createShippingLabels
operation. If that request succeeds, you can use the getShippingLabels
operation to get the label. Before you call getShippingLabels
to get the label, call the getTransactionStatus
operation.
Quali punti per pollice (DPI) sono disponibili per le etichette di spedizione in formato ZPL?
Seleziona per espandere la risposta.
Labels in ZPL format have 203 DPI.
Qual è la dimensione standard dell'etichetta?
Seleziona per espandere la risposta.
The standard label size is 4" by 6".
Posso stampare informazioni aggiuntive sull'etichetta di spedizione che ricevo da Amazon?
Seleziona per espandere la risposta.
No. Don't print any additional information, such as a warehouse ID or part ID, on the shipping label that you receive from Amazon.
Amazon può ridimensionare i codici a barre sull'etichetta?
Seleziona per espandere la risposta.
No. Amazon can't change the barcode size.
Amazon può codificare il numero di tracciamento sull'etichetta con un codice a barre lineare anziché un codice a barre 2D per i metodi di spedizione Amazon?
Seleziona per espandere la risposta.
No.
Come posso distinguere tra le etichette di spedizione Amazon Extra Large (AMXL) e Amazon Transportation Services (ATS)?
Seleziona per espandere la risposta.
If you use AMXL and AT shipping methods for the same warehouse, the AMXL Oversize
and XL
markers on the label help differentiate between AMXL and AT labels.
Cosa sono i capovolgimenti delle etichette e come posso evitarli?
Seleziona per espandere la risposta.
Label flips occur when the shipping method that is assigned during shipping label generation differs from the shipping method that is assigned during order creation.
Label flips are expected. During shipping label requests, our planning system might find a better shipping method than the shipping method that the purchase order originally assigned. However, you can greatly reduce the number of label flips by incorporating the following best practices into your processes:
- For single-package orders, don't include any container details in the body of shipping label creation request.
- Set
sellingParty.partyId
to the vendor code. - Set
shipFromParty.partyId
to the warehouse ID.
The following code shows an example of a shipping label request.
{
"shippingLabelRequests": {
"sellingParty": {
"partyId": "ExampleSellingPartyId"
},
"shipFromParty": {
"partyId": "ExampleShipFromPartyId"
}
}
}
Always submit shipping label requests between the carrier pick-up time of the previous day of the expected ship date and the actual day of shipping.
Avviso di spedizione anticipato (ASN)
Posso richiedere un'etichetta di spedizione dopo aver inviato un ASN?
Seleziona per espandere la risposta.
No. The ASN should reflect the actual shipping method. Therefore, you must generate the shipping label prior to the ASN process. Otherwise, the shipping label request is rejected.
Posso richiedere le etichette di spedizione più di una volta prima di inviare l'ASN?
Seleziona per espandere la risposta.
Yes. However, the label might flip to a different shipping method when you request a new label.
Quale metodo di spedizione devo specificare nell'ASN quando il metodo di spedizione effettivo è diverso dal metodo di spedizione dell'ordine di acquisto originale?
Seleziona per espandere la risposta.
To avoid shipping method mismatches, always specify the actual shipping method on the ASN.
L'immagine della mia etichetta di spedizione mostra un numero di tracciamento UPS anche se il metodo di spedizione è passato da UPS a Landmark. Quale metodo di spedizione e numero di tracciamento devo inviare nell'ASN?
Seleziona per espandere la risposta.
In the ASN, you must provide the shipping method and tracking number that you receive in the shipping label from Amazon even if there is a UPS tracking number on the label. You can differentiate a standard UPS label from a Landmark-UPS label based on the presence or absence of a Landmark logo in the corner of the label.
This scenario is common. For example, you might see a UPS tracking number for a Landmark shipping method in multi-leg shipments that Landmark orchestrates.
In caso di reimballaggio, posso scartare un'etichetta che ho già recuperato?
Seleziona per espandere la risposta.
Yes. You can discard the shipping label if you no longer require it. You can submit a new shipping label request and call the getShippingLabel
operation to retrieve the new label. In general, however, try to avoid discarding labels. Discarding labels can result in carrier pick-up issues and might negatively impact your metrics.
Hai bisogno di ulteriore aiuto?
Per ulteriore assistenza, contatta Supporto agli sviluppatori di API per i partner di vendita. Per le richieste dei fornitori, invia una richiesta di assistenza in Vendor Central accedendo a Vendor Central > Support > Contact Us > API Integration.
Aggiornato 2 mesi fa