"description":"The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor's inventory updates.",
"version":"v1",
"title":"Selling Partner API for Direct Fulfillment Inventory Updates",
"description":"Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items.\n\n**Usage Plans:**\n\n| Plan type | Rate (requests per second) | Burst |\n| ---- | ---- | ---- |\n|Default| 10 | 10 |\n|Selling partner specific| Variable | Variable |\n\nThe x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.",
"description":"Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.",
"description":"Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
"description":"Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
"description":"Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
"description":"Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
"description":"Your rate limit (requests per second) for this operation.\n_Note:_ For this status code, the rate limit header is deprecated and no longer returned."
"description":"Inventory details required to update some or all items for the requested warehouse.",
"$ref":"#/definitions/InventoryUpdate"
}
},
"description":"The request body for the submitInventoryUpdate operation."
},
"InventoryUpdate":{
"type":"object",
"required":[
"isFullUpdate",
"items",
"sellingParty"
],
"properties":{
"sellingParty":{
"description":"ID of the selling party or vendor.",
"$ref":"#/definitions/PartyIdentification"
},
"isFullUpdate":{
"type":"boolean",
"description":"When true, this request contains a full feed. Otherwise, this request contains a partial feed. When sending a full feed, you must send information about all items in the warehouse. Any items not in the full feed are updated as not available. When sending a partial feed, only include the items that need an update to inventory. The status of other items will remain unchanged."
},
"items":{
"type":"array",
"description":"A list of inventory items with updated details, including quantity available.",
"items":{
"$ref":"#/definitions/ItemDetails"
}
}
}
},
"ItemDetails":{
"type":"object",
"required":[
"availableQuantity"
],
"properties":{
"buyerProductIdentifier":{
"type":"string",
"description":"The buyer selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted."
},
"vendorProductIdentifier":{
"type":"string",
"description":"The vendor selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted."
},
"availableQuantity":{
"description":"Total item quantity available in the warehouse.",
"$ref":"#/definitions/ItemQuantity"
},
"isObsolete":{
"type":"boolean",
"description":"When true, the item is permanently unavailable."
}
},
"description":"Updated inventory details for an item."
},
"PartyIdentification":{
"type":"object",
"required":[
"partyId"
],
"properties":{
"partyId":{
"type":"string",
"description":"Assigned identification for the party."
}
}
},
"ItemQuantity":{
"type":"object",
"required":[
"unitOfMeasure"
],
"properties":{
"amount":{
"type":"integer",
"description":"Quantity of units available for a specific item."
},
"unitOfMeasure":{
"type":"string",
"description":"Unit of measure for the available quantity."
}
},
"description":"Details of item quantity."
},
"SubmitInventoryUpdateResponse":{
"type":"object",
"properties":{
"payload":{
"description":"The response payload for the submitInventoryUpdate operation.",
"$ref":"#/definitions/TransactionReference"
},
"errors":{
"$ref":"#/definitions/ErrorList"
}
},
"description":"The response schema for the submitInventoryUpdate operation."
},
"TransactionReference":{
"type":"object",
"properties":{
"transactionId":{
"type":"string",
"description":"GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction."
}
}
},
"ErrorList":{
"type":"array",
"description":"A list of error responses returned when a request is unsuccessful.",
"items":{
"$ref":"#/definitions/Error"
}
},
"Error":{
"type":"object",
"required":[
"code",
"message"
],
"properties":{
"code":{
"type":"string",
"description":"An error code that identifies the type of error that occurred."
},
"message":{
"type":"string",
"description":"A message that describes the error condition."
},
"details":{
"type":"string",
"description":"Additional details that can help the caller understand or fix the issue."
}
},
"description":"Error response returned when the request is unsuccessful."