Skillnad mellan versioner av "Surface"

Från Vendre Help
Hoppa till: navigering, sök
(request-password-change)
(request-password-change)
Rad 7: Rad 7:
 
===request-password-change===
 
===request-password-change===
 
'''Type:''' POST<br />
 
'''Type:''' POST<br />
<nowiki>email or id as POST-variables (email is prioritized if both are used)</nowiki>
+
<nowiki>email or id as POST-variables (email is prioritized if both are used)</nowiki><br /><br />
 +
'''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===
 
===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. 16.05

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 }]