
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/account",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/account" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/account",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[StoreID] => Integer
[UserName] => String
[StoreName] => String
[StoreAddress] => String
[StoreAddressNo] => String
[StorePostalCode] => String
[StoreCity] => String
[StoreVAT] => String
[StorePhone] => String
)
)
Dette API-endepunkt gør det muligt for en autoriseret bruger at hente en liste over alle medarbejdere. Det kræver, at brugeren er autentificeret.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/employees",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/employees" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/employees",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/booking/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/booking/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/booking/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/booking",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request POST "https://api.wiggo.dk/v2/booking" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/booking",
"method": "POST",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Denne endpoint tillader sletning af en specifik ressource identificeret ved dens unikke ID. Når anmodningen udføres korrekt, fjernes ressourcen permanent fra systemet.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/{id}",
CURLOPT_CUSTOMREQUEST => "DEL",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request DEL "https://api.wiggo.dk/v2/clients/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/{id}",
"method": "DEL",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[Success] => String
)
)
Denne endpoint returnerer en liste over alle registrerede klienter i systemet. Anmodningen kræver ingen specifikke parametre og returnerer den komplette klientliste i JSON-format.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/?limit={100}&from={YY-MM-DD}&to={YY-MM-DD}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/clients/?limit={100}&from={YY-MM-DD}&to={YY-MM-DD}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/?limit={100}&from={YY-MM-DD}&to={YY-MM-DD}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ClientID] => Integer
[FirmName] => String
[Firstname] => String
[Lastname] => String
[PhoneCode] => String
[Phone] => String
[Email] => String
[Date] => DateTime()
[Saldo] => String
)
)
Dette endpoint giver dig en bekræftelse af om kunden har logget rigtigt ind
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/md5/{hash}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/clients/md5/{hash}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/md5/{hash}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ClientID] => String
[ClientFirstName] => String
[ClientLastName] => String
[ClientStreet] => String
[ClientStreetNo] => String
[ClientZip] => String
[ClientCity] => String
[ClientSaldo] => Integer
[ClientCreditMax] => Integer
)
)
Hent specifik Client baseret på ClientID. Kan multipliceres ved kommaseperation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/clients/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ClientID] => Integer
[FirmName] => String
[Firstname] => String
[Lastname] => String
[PhoneCode] => String
[Phone] => String
[Email] => String
[Date] => String
[Saldo] => String
)
)
TIlføj en ny client til databasen.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/?FirstName={str}&LastName={str}&Email={str}&PhoneCode={int}&Phone={int}",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request POST "https://api.wiggo.dk/v2/clients/?FirstName={str}&LastName={str}&Email={str}&PhoneCode={int}&Phone={int}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/?FirstName={str}&LastName={str}&Email={str}&PhoneCode={int}&Phone={int}",
"method": "POST",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ClientID] => Integer
)
)
Dette endpoint gør det muligt at opdatere oplysninger for en eksisterende klient i systemet ved at specificere klientens unikke ID. Det er nyttigt til vedligeholdelse og ajourføring af klientdata i din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/clients/{id}",
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request PUT "https://api.wiggo.dk/v2/clients/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/clients/{id}",
"method": "PUT",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Dette endpoint giver mulighed for at hente alle tilknyttede betalingsmuligheder ved hjælp af en appKey. Det er designet til at facilitere betalingsprocesser ved at give en omfattende oversigt over tilgængelige betalingsmetoder i din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/payments/?OrderID={int}&PaymentTypeID={int}&PaymentValue={int}&PaymentTxnid={int}&PaymentCardNo={string}&PaymentCardType={string}&Acquirer={string}",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request POST "https://api.wiggo.dk/v2/payments/?OrderID={int}&PaymentTypeID={int}&PaymentValue={int}&PaymentTxnid={int}&PaymentCardNo={string}&PaymentCardType={string}&Acquirer={string}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/payments/?OrderID={int}&PaymentTypeID={int}&PaymentValue={int}&PaymentTxnid={int}&PaymentCardNo={string}&PaymentCardType={string}&Acquirer={string}",
"method": "POST",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[OrderID] => Integer
[PaymentID] => Integer
)
)
Denne endpoint tillader sletning af en specifik ressource identificeret ved dens unikke ID. Når anmodningen udføres korrekt, fjernes ressourcen permanent fra systemet.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/products/{id}",
CURLOPT_CUSTOMREQUEST => "DEL",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request DEL "https://api.wiggo.dk/v2/products/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/products/{id}",
"method": "DEL",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Dette endpoint giver dig mulighed for at hente en fuldstændig liste over alle produktgrupper i systemet. Det er nyttigt til at organisere og administrere produktkategorierne inden for din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/productgroups",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/productgroups" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/productgroups",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Dette endpoint gør det muligt at hente detaljerede data om en specifik produktgruppe ved at bruge dens unikke ID. Det er nyttigt for at få indsigt i produktgruppens attributter og egenskaber i din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/productgroups/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/productgroups/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/productgroups/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Dette endpoint giver dig adgang til en liste over alle produkter, der er tilgængelige i systemet. Det er nyttigt til at hente produktinformation for visning, analyse eller administration inden for din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/products/?limit={100}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/products/?limit={100}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/products/?limit={100}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ProductID] => Integer
[HideFromWeb] => Integer
[Title] => String
[Url] => String
[Description] => String
[Price] => Integer
[OfferPrice] => Integer
[Date] => DateTime()
[GroupTitle] => String
[GroupID] => Integer
[Brand] => String
[BrandID] => Integer
[BrandLink] => String
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/products/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/products/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/products/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/invoices/?from={YY-MM-DD}&to={YY-MM-DD}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/invoices/?from={YY-MM-DD}&to={YY-MM-DD}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/invoices/?from={YY-MM-DD}&to={YY-MM-DD}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[Customer] => Array()
[InvoiceID] => Integer
[InvoiceNo] => Integer
[Amount] => Integer
[Tax] => String
[InvoiceDate] => DateTime()
[DueDate] => DateTime()
[OrderID] => Integer
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/invoices/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/invoices/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/invoices/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[Customer] => Array()
[InvoiceLines] => Array()
[InvoiceID] => Integer
[InvoiceNo] => Integer
[Amount] => Integer
[Tax] => Integer
[InvoiceDate] => DateTime()
[DueDate] => DateTime()
[OrderID] => Integer
)
)
Alle ordre listet, med mulighed for filtrering
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/orders",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/orders" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/orders",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[OrderID] => Integer
[OrderNo] => Integer
[InvoiceNo] => Integer
[Terminal] => Integer
[Date] => DateTime()
[Customer] => Array()
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/orders/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/orders/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/orders/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[OrderID] => Integer
[OrderNo] => Integer
[InvoiceNo] => Integer
[Terminal] => Integer
[Date] => DateTime()
[Customer] => Array()
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/orders",
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request POST "https://api.wiggo.dk/v2/orders" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/orders",
"method": "POST",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/stocklocations",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/stocklocations" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/stocklocations",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/stockreports",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/stockreports" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/stockreports",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
Dette endpoint giver dig en fuldstændig liste over alle tilgængelige artikler i vores system. Det er designet til at levere en omfattende oversigt, der kan bruges til at gennemgå, analysere eller præsentere indholdet i din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/articles",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/articles" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/articles",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ArticleID] => Integer
[Page] => String
[Title] => String
[TitleURL] => String
[Created] => String
[Tags] => String
[Image] => String
[Image_full] => String
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/articles/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/articles/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/articles/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[ArticleID] => Integer
[Page] => String
[Title] => String
[TitleURL] => String
[Created] => DateTime()
[Tags] => String
[Image] => String
[Image_full] => String
)
)
Dette endpoint giver adgang til en komplet liste over alle sider, der er blevet oprettet i backend. Det er ideelt til at hente og administrere sidernes indhold og struktur i din applikation.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/pages/?lang={string}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/pages/?lang={string}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/pages/?lang={string}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[PagesID] => Integer
[Type] => String
[Template] => String
[Logo] => String
[MainTitle] => String
[ContactMail] => String
[Menubar] => Array()
[Title] => String
[Url] => String
[Description] => String
[Meta] => String
[Rotations] => Array()
[Content] => String
[Information] => Array()
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/pages/{title}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/pages/{title}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/pages/{title}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/pages/{title}/group/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/pages/{title}/group/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/pages/{title}/group/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/pages/{title}/product/{id}",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/pages/{title}/product/{id}" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/pages/{title}/product/{id}",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
)
)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.wiggo.dk/v2/sitemap",
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => "wiggo",
CURLOPT_HTTPHEADER => array(
"AppSecretToken: {key}"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
curl --location --request GET "https://api.wiggo.dk/v2/sitemap" \
--header "AppSecretToken: {key}" \
--data ""
}
var settings = {
"url": "https://api.wiggo.dk/v2/sitemap",
"method": "GET",
"timeout": 0,
"headers": {
"AppSecretToken": "{key}"
},
};
Array
(
[0] => stdClass Object
(
[PagesDate] => DateTime()
[PagesUrl] => String
[PagesTitle] => String
)
)