Create a B2B quote based on a regular Magento quote
Create a B2B quote based on a regular Magento quote. If the B2B quote requires a shipping address (for negotiation or tax calculations), add it to the regular quote before you create a B2B quote.
POST /V1/negotiableQuote/request
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/negotiableQuote/request \
-d '{"quoteId":42,"quoteName":"string","comment":"string","files":[{"base64_encoded_data":"string","type":"string","name":"string","extension_attributes":{}}]}'
Request examples
{
"quoteId": 42,
"quoteName": "string",
"comment": "string",
"files": [
{
"base64_encoded_data": "string",
"type": "string",
"name": "string",
"extension_attributes": {}
}
]
}
Response examples (200)
true
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}