Offer
Endpoints for Offer addon
No content
POST /offer-request HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"billigAddressId": "text",
"deliverAddressId": "text",
"subject": "text",
"commission": "text",
"customerComment": "text"
}No content
No content
POST /offer-item-request HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 191
{
"billigAddressId": "text",
"deliverAddressId": "text",
"subject": "text",
"commission": "text",
"customerComment": "text",
"lineItems": [
{
"id": "text",
"productId": "text",
"quantity": 1,
"comment": "text"
}
]
}No content
ID of product
Order
GET /b2b/offer-reference-product/{productId} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
Order
No content
ID of offer
Returns a success response indicating a successful update
POST /offer/{id}/request-validity-extension HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
Returns a success response indicating a successful update
No content
No content
POST /offer-states HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}No content
ID of document
the document
No content
GET /offer-document/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
the document
No content
ID of offer
Returns a success response indicating a successful send
POST /offer-mail/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
Returns a success response indicating a successful send
No content
ID of offer
No content
GET /offer/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
No content
ID of offer
No content
PUT /offer/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
No content
ID of offer
Returns a success response indicating a successful update
DELETE /sales-representative/offer/{id} HTTP/1.1
sw-context-token: YOUR_API_KEY
Accept: */*
Returns a success response indicating a successful update
No content
ID of offer
Returns a success response indicating a successful update
POST /offer-add-products/{offerId} HTTP/1.1
sw-context-token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"object": []
}Returns a success response indicating a successful update
No content
Last updated
Was this helpful?