Include additional seller input data
Learn how to use the Merchant Fulfillment API to include additional seller input data.
Learn how to use the Merchant Fulfillment API to include additional seller input data. The getAdditionalSellerInputs operation returns a list of additional inputs that are required from the seller to purchase shipping for some shipping services. It is only required for shipment services that require additional seller inputs.
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API applications.
- The Direct-to-Consumer Shipping (Restricted) role assigned to your developer profile.
- The Direct-to-Consumer Shipping (Restricted) role selected in the app registration page for your application.
Step 1. Determine if the shipment service requires additional seller inputs
- Call the
getEligibleShipmentServicesoperation. - Retrieve the list of
ShippingServicesreturned by the operation. - Check for the
RequiresAdditionalSellerInputsattribute. - If
RequiresAdditionalSellerInputsistrue, it means the shipment service requires additional seller inputs.
Step 2. Call the getAdditionalSellerInputs operation
getAdditionalSellerInputs operationIf the shipment service requires additional seller inputs, call the getAdditionalSellerInputs operation and include all required parameters. The response includes a list of required parameters that a seller must include if they want to purchase shipping services.
Step 3. Review the additional seller inputs required
- Examine the response from the
getAdditionalSellerInputsoperation. - Identify the specific additional seller inputs that are required.
Step 4. Provide the required seller inputs
- Collect the necessary information based on the additional seller inputs identified in the response.
- Ensure the information provided meets the syntax requirements specified in the response.
- Prepare the required seller inputs for the next step.
Step 5. Create the shipment
Note
This is a restricted operation and requires a Restricted Data Token (RDT) for authorization. Some operations require restrictions because they contain customer PII data. These operations require passing an additional security review. For more information on RDT, refer to the Tokens API guide.
- If the required seller inputs are collected and prepared, call the
createShipmentoperation. - Use the necessary parameters and seller inputs with the
createShipmentoperation. - Follow the appropriate syntax requirements for the seller inputs in the
getAdditionalSellerInputsresponse.
Step 6: (Optional) Retrieve saved values
The getAdditionalSellerInputs operation returns saved values previously provided to Amazon. To access these saved values, examine the response from the getAdditionalSellerInputs operation.
Updated 15 days ago
