Skip to content

Goldenplanet

Har fint api (2020) og man kan hente ordre samt opdatere pris og beholdning Har ikke erfaring med fuld pris og kategoristruktur Der skal oprettes en api bruger i shop

V 2020 https://styler.openbizbox.com/api/doc#post--api-products.{_format} https://styler.openbizbox.com/api/doc/v3

Opsætning 2020

1) Opret API bruger

De kan desværre IKKE navngives eller have kommentar alt text

2) Rettigheder, minimum (blå hvis opdatere varer)

alt text

3) Gem API info

API Client ID zzz API Client Secret Yyy

Skal ind i KB CustomSetup - Ordre status fra - Ordre status til

4) Check OrdreStatus.

I versionen henter vi kun ordre med en bestemt status.. Den ses her. Tryk REDIGER ud for den ønskede og se ID i URL. alt text

alt text

5) Opret ny KB ordrestatus

Gem det id i KB, så flyttes ordre derhen. Husk at det kræver rettighed til at rette ordre!!

Produkt API

I recommend using v3 of our API: api/v3/products.json  (or api/v3/products.xml)

To paginate use "page" and "limit" query parameters, e.g.  api/v3/products.json?page=5&limit=50

100 is default limit

except pagination params, you can use filter params:  title, model, gtin(barcode), mpn(brand model)

e.g. /api/v3/products/json?title=phone will filter products that contain "phone" in title


> We're trying to fetch a list of all products to update our productlist 
> with URL's from the shop. It works fine with the products.xml endpoint 
> - but it does not seem like we're getting ALL the products.
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Falbe
> emballage.dk%2Fapi%2Fproducts.xml%3Faccess_token%3Dxxxtokenxxx&dat
> a=04%7C01%7Classe%40atomic.dk%7Cc284cee3f5054d6ac42408d935559da9%7C288
> 05d85ed41456b9f20eda08fc508cd%7C1%7C0%7C637599464100030888%7CUnknown%7
> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV
> CI6Mn0%3D%7C1000&sdata=nB9qOaBaCf3l0E9UFEn5xS3MDhdkxvCjPp4xhgPyDi0
> %3D&reserved=0
>
> In example product 1037 // (our product id 310415) does not show in the
> feed                             
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Falbe
> emballage.dk%2Fadmin%2Fproduct%2F1037%2F&data=04%7C01%7Classe%40at
> omic.dk%7Cc284cee3f5054d6ac42408d935559da9%7C28805d85ed41456b9f20eda08
> fc508cd%7C1%7C0%7C637599464100030888%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM
> C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&s
> data=8YPaMZdL%2FSkh5iFw%2FsbRyF7YvxedxzeVDFtSSJnm4Gg%3D&reserved=0
>
> Are there any kind of limit / paging on the feed? I cannot see info on 
> the in the API help. If so, can I update the pagesize?