Skillnad mellan versioner av "Surface"
Från Vendre Help
(→Calls) |
(→Calls) |
||
| Rad 9: | Rad 9: | ||
<nowiki>{ "email": "user@domain.se" }</nowiki> or <nowiki>{ "id": 12345 }</nowiki> | <nowiki>{ "email": "user@domain.se" }</nowiki> or <nowiki>{ "id": 12345 }</nowiki> | ||
| − | === | + | ===extended-product-data-field=== |
'''Type:''' GET<br /> | '''Type:''' GET<br /> | ||
<nowiki>[{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }]</nowiki> | <nowiki>[{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }]</nowiki> | ||
Versionen från 27 februari 2024 kl. 15.19
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": "user@domain.se" } or { "id": 12345 }
extended-product-data-field
Type: GET
[{ "product_id": 5555, "fields": [{ "id": 4553, "languages": [4,5,8] }, { "id": 1234 }]