Create or update bike

You can now start using the API. Below you can find all the possible values and a example post request. This request creates a bike or edits a bike based on its uniquearticlenumber. Be aware the everytime you create a bike a coin will be deducted from your account. When you send a request with an unique articlenumber that already exists it will update a bike. No coin will be deducted when updating a bike. The request must be in json format.

Creating a bike / Editing a bike

Request URL

https://motokicx.com/api/addoreditmotorcycle.php?key=YOUR LICENSE KEY HERE

Request example

{
"userid": "1",
"uniquearticlenumber": "TCkzBzus8pKUeBeA",
"title": "testbike",
"price": "1500",
"brand": "Yamaha",
"numberofcilinders": "Tweecilinder",
"cc": "500",
"model": "R1",
"typemotor": "Sportmotoren",
"constructionyear": "2008",
"km": "25000",
"btw": "true",
"is35kw": "true",
"is11kw": "false",
"options": "ABS,Zijkoffers",
"locationsale": "Antwerpen",
"stillunderwarranty": "true",

"warrantymonths": "10",
"description": "Testbeschrijving motor",
"featuredimage": "https://motokicx.com/wp-content/uploads/2020/06/IMG_9567.jpg",
"picture01": "https://motokicx.com/wp-content/uploads/2020/06/inbound345952585578808088-scaled.jpg",
"picture02": "https://motokicx.com/wp-content/uploads/2020/06/IMG_6883.jpg",
"picture03": "https://motokicx.com/wp-content/uploads/2020/06/Kawasaki-6-scaled.jpg",
"picture04": "https://motokicx.com/wp-content/uploads/2020/06/IMG_0094.jpg",
"picture05": "https://motokicx.com/wp-content/uploads/2020/06/2006_Header-Facebookbuff-scaled.jpg",
"picture06": "https://motokicx.com/wp-content/uploads/2020/06/2006-COVER-KXS-V1-scaled.jpg",
"picture07": "https://motokicx.com/wp-content/uploads/2020/06/2006_KXS_ZeroSRS.jpg",
"picture08": "https://motokicx.com/wp-content/uploads/2020/06/2006_KXS_Zeelenberg.jpg",
"istest": "true"
}

All possible values / Explanation of each field

userid

This is your unique user id you can find on your account – This value has to be numeric. – This value is obligatory.

uniquearticlenumber

This is your unique bike id – This value has to be a random string. – This value is obligatory.

title

This is your bike name – This value has to be a string. – This value is obligatory.

price

This is your bike’s selling price – This value has to be numeric. – This value is obligatory.

brand

The brand of the bike – You have to use one of the following values – Case sensitive – This value is obligatory.

Aero
AJP
Andere
APGMoto
Aprilia
Arc
Ariel
Asia Wing
Avinton
Benelli
Beta
BMW
BSA
Brixton
Brough Superior
Bullit
Cagiva
CF Moto
Ducati
Energica
Fantic
FB Mondial
Harley-Davidson
Headbanger
Honda
Horex
Husqvarna
Kawasaki
KTM
Lito
Mash
Megelli
Midual
Montesa
Moto Guzzi
Moto Morini
Mutt
MV Agusta
Norton
Online
Red Moto
Royal Enfield
Saroléa
Super Soco
Suzuki
SWM
Sym
Tacita
Triumph

Vespa
Yamaha
Zero
Indian
Johammer

numberofcilinders

The amount of cilinders the bike has  – You have to use one of the following values – Case sensitive

Eencilinder
Tweecilinder
Driecilinder
Viercilinder
Zescilinder
Elektrisch

cc

The amount of cc the bike has  – This value has to be numeric.

model

The model of the bike – This value has to be a string. – This value is obligatory.

typemotor

The type of bike  – You have to use one of the following values – Case sensitive – This value is obligatory.

125cc-motoren
Allroad/Avontuurlijke toermotor
Andere
Crossmotoren
Cruisers
Elektrische motoren
Enduro
Klassiekers/oldtimers
Motorscooters
Naked Bikes
Retro motoren
Sportmotoren
Supermotard
Toermotoren

constructionyear

The year the bike has been constructed – This value has to be numeric. – This value is obligatory.

km

The amount of km the bike has – This value has to be numeric.

btw

Is the bike BTW aftrekbaar – This is a boolean and has to be “true” or “false” – Case sensitive

is35kw

Is the bike 35kw – This is a boolean and has to be “true” or “false” – Case sensitive

is11kw

Is the bike 11kw – This is a boolean and has to be “true” or “false” – Case sensitive

options

The options the bike has – You have to use one of the following values – Case sensitive & comma seperated

ABS
Alarmsysteem
Bandendruksensor
Beschermbeugel motorblok
Centrale Standaard
Cruisecontrole
DTC
Elektronische ophanging
Handprotectoren
Keyless ride
Laag zadel
Lage ophanging
Navigatiesysteem
Quickshifter
Radio/CD
Rijmodi
Topkoffer
Tractiecontrole
Verwarmd zadel
Verwarmde handvaten
Windscherm
Zijkoffers

 

locationsale

The location of the bike sale – You have to use one of the following values – Case sensitive – This value is obligatory.

Antwerpen
Brussel
Limburg
Oost-Vlaanderen
Vlaams-Brabant
West-Vlaanderen
Waals-Brabant
Henegouwen
Luik
Luxemburg
Namen
Groningen
Friesland
Drenthe
Overijssel
Flevoland
Gelderland
Utrecht
Noord-Holland
Zuid-Holland
Zeeland
Noord-Brabant

stillunderwarranty

Does the bike have warranty – This is a boolean and has to be “true” or “false” – Case sensitive

warrantymonths

The amount of months of warranty – This value has to be numeric.

description

The bike description – This is a string – This value is obligatory.

featuredimage

The main image of the bike – This is an URL to the image file with extention. – This value is obligatory.

picture01 - picture08

The gallery images of the bike – This is an URL to the image file with extention.

istest

Is it a test or not – true puts bike in draft, false puts bike in publish mode.