Skillnad mellan versioner av "Surface"
Från Vendre Help
(→Available Surface Calls) |
|||
| Rad 37: | Rad 37: | ||
fiilters | fiilters | ||
===GET: extended-product-data-fields=== | ===GET: extended-product-data-fields=== | ||
| − | [ "fields": [ "languages": [4 | + | [{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }] |
===POST: login-link=== | ===POST: login-link=== | ||
email | email | ||
Versionen från 1 augusti 2024 kl. 16.08
Innehåll
- 1 Surface API
- 1.1 Calls
- 1.2 Available Surface Calls
- 1.2.1 POST: appforsales/ordershistory
- 1.2.2 GET: bankid/status
- 1.2.3 GET: bankid/qr-token
- 1.2.4 POST: bankid/login
- 1.2.5 POST: custom-reports/report-request
- 1.2.6 GET: custom-reports/report
- 1.2.7 GET: extended-product-data-fields
- 1.2.8 POST: login-link
- 1.2.9 GET: product-list
- 1.2.10 POST: product-list/shared-cart
- 1.2.11 GET: products/associated
- 1.2.12 GET: products/price-log-prices
- 1.2.13 GET: products/stock
- 1.2.14 GET: products/configuration-price
- 1.2.15 POST: request-for-quotation
- 1.2.16 POST: request-password-change
- 1.2.17 POST: reservations
- 1.2.18 GET: shopping-cart
- 1.2.19 DELETE: shopping-cart
- 1.2.20 GET: shopping-cart/products
- 1.2.21 POST: shopping-cart/products
- 1.2.22 GET: tweakwise/featured-products
- 1.2.23 POST: vql
- 1.2.24 POST: voucher/value
Surface API
Our StoreFront API to fetch data through Vue or other comparable frameworks.
Calls
Basepath for all calls, /surface/1/, using version 1.
eg. /surface/1/request-password-change
request-password-change
Type: POST
email or id as POST-variables (email is prioritized if both are used)
NOTE! The request won't be sent if used to quickly in between for safety, just send again in a minute if email not recived
extended-product-data-field
Type: GET
[{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }]
Available Surface Calls
POST: appforsales/ordershistory
customer_code rows offset
GET: bankid/status
status från bankid-sessionen
GET: bankid/qr-token
qr från bankid-sessionen
POST: bankid/login
utgår från bankid som används
POST: custom-reports/report-request
unique_key email format filters Hämtar användaruppgifter från sessionen
GET: custom-reports/report
- Bör ändras till GET-variabler
unique_key format fiilters
GET: extended-product-data-fields
[{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }]
POST: login-link
email Hämtar marknad och språk från sessionen
GET: product-list
hash_id
POST: product-list/shared-cart
hämtar varukorgen från sessionen
GET: products/associated
order_by product_id replace_variants type_id
GET: products/price-log-prices
id
GET: products/stock
id
GET: products/configuration-price
product_id configuration quantity
POST: request-for-quotation
hämtar kundid och språk från sessionen
POST: request-password-change
email id hämtar marknad och språk från sessionen
POST: reservations
name email phone Products partner_id data Hämtar kundid från sessionen Postar allt man skickar in
GET: shopping-cart
Hämtar varukorgen från sessionen
DELETE: shopping-cart
Tömmer varukorgen för sessionen
GET: shopping-cart/products
Hämtar varukorgen från sessionen
POST: shopping-cart/products
products
GET: tweakwise/featured-products
display_id
POST: vql
Separat dokumentation för Vendre Query Language
POST: voucher/value
voucher Hämtar currency från sessionen