/ Quotes
API Summary:
Send a list of products to be priced and lock in those prices for a specified period of time.
Resource URL: api.digikey.com/quoting/v4/quotes/{quoteId}/details
POST
api.digikey.com/quoting/v4/ Quotes/AddProductsToQuote
Add one or more product(s) to a new or existing quote
Entering a DigiKey product number in ‘ProductNumber’ is recommended to ensure that we can find the correct product to add to the quote.
The maximum number of products that can be included per call is 300.
Parameters
Name | Description | |
---|---|---|
quoteId * integer($int32) (path) | Unique identifier for the quote | |
Authorization * string (header) | OAuth Bearer Token. Please see OAuth 2.0 Documentation page for more info. | |
X-DIGIKEY-Client-Id * string (header) | The CliendId for your app. | |
X-DIGIKEY-Customer-Id * string (header) | Please enter the CustomerID that was used to create the Quote or a CustomerID that is linked to the same CustomerID that created the quote.
| |
body (body) | The products to add to the quote [
{
"ProductNumber": "string",
"CustomerReference": "string",
"Quantities": [
0
]
}
] |
Responses
Code | Description |
200 | Success {
"QuoteId": 0,
"Errors": [
"string"
],
"Comments": [
"string"
]
} |
400 | Bad Request - The input model is invalid or malformed. {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
401 | Unauthorized - Token is expired or Client Id or subscription are invalid. {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
403 | The target resource is forbidden. {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
404 | Not Found - The requested resource could not be found {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
429 | Too Many Requests - Your rate limit has been exceeded {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
500 | An unhandled error occurred. {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
503 | Service Unavailable - The service is temporarily unavailable {
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"correlationId": "string",
"errors": {
"additionalProp1": [
"string"
],
"additionalProp2": [
"string"
],
"additionalProp3": [
"string"
]
}
} |
Models
AddProductToQuote
AddProductsToQuoteResponse
CreateQuoteRequest
DKProblemDetails
DeleteProductFromQuoteResponse
ExpirationStatus
ProductsFromQuoteResponse
QuoteInformation
QuoteProduct
QuoteProductQuantity
QuoteResponse
QuotesResponse
ReachStatusCode
RoHSStatusCode