GET https://api.nexacommerce.com/:project/:country/getProducts
Query Parameters:
q
Full text search term (optional)filters
Filters (see below) (optional)sort
Sort by this attribute (optional)from
Return results starting from result n (offset / pagination) (optional)size
Return n results (optional)Multiple filters can be separated with |
. Attribute key and filter values are separated by :
. Multiple filter values can be separated with ,
. Example: categories:tShirts|size:M|colors:blue,white|targetGroups:men
Sort attribute can either just be the respective attribute key or consist of the attribute key followed by the sort order (asc
or desc
) separated by :
. Example: price:desc
GET https://api.nexacommerce.com/:project/:country/getProduct
Query Parameters:
id
Product ID (optional)sku
SKU / Variant ID (optional)Either id
or sku
has to be specified.
GET https://api.nexacommerce.com/:project/:country/getCustomer
POST https://api.nexacommerce.com/:project/:country/register
Body Parameters:
salutation
title
(optional)firstName
lastName
email
password
If a valid auth token of an anonymous customer is presented with this call the customer is upgraded to a registered customer. The customer ID remains the same.
POST https://api.nexacommerce.com/:project/:country/login
Body Parameters:
email
password
If a valid auth token of an anonymous customer is presented with this call and the anonymous customer had items in their cart, the cart of the anonymous customer will be merged into the cart of the registered customer. For SKUs that appear in both carts the higher of both quantities will be taken over. The anonymous customer is deleted afterwards.
POST https://api.nexacommerce.com/:project/:country/logout
Clears the token
cookie
TBD
POST https://api.nexacommerce.com/:project/:country/setCustomerDetails
Body Parameters:
salutation
(optional)title
(optional)firstName
(optional)lastName
(optional)birthDate
(optional)phoneNumber
(optional)isSubscribedToNewsletter
(optional)preferredLanguage
(optional)TBD
TBD
TBD
POST https://api.nexacommerce.com/:project/:country/addToCart
Body Parameters:
sku
quantity
(optional)If quantity
is not provided one instance of the SKU will be added. If no (valid) auth token is presented with this call an anonymous customer will be created and a new token will be returned.
POST https://api.nexacommerce.com/:project/:country/setCartItemQuantity
Body Parameters:
sku
quantity
POST https://api.nexacommerce.com/:project/:country/removeFromCart
Body Parameters:
sku
POST https://api.nexacommerce.com/:project/:country/setShippingAddress
Body Parameters:
country
salutation
title
(optional)firstName
lastName
streetAddress
supplement
(optional)postalCode
city
region
(optional)phoneNumber
(optional)POST https://api.nexacommerce.com/:project/:country/setShippingMethod
Body Parameters:
key
Shipping Method KeyPOST https://api.nexacommerce.com/:project/:country/setBillingAddress
Body Parameters:
country
salutation
title
(optional)firstName
lastName
streetAddress
supplement
(optional)postalCode
city
region
(optional)phoneNumber
(optional)POST https://api.nexacommerce.com/:project/:country/setPaymentMethod
Body Parameters:
key
Payment Method Keydata
Payment Data (optional)TBD
TBD
TBD
TBD
GET https://api.nexacommerce.com/:project/:country/getOrders
GET https://api.nexacommerce.com/:project/:country/getOrder
Query Parameters:
id
Order IDPOST https://api.nexacommerce.com/:project/:country/placeOrder
Body Parameters:
data
Payment Data (optional)Requires shipping and billing addresses to be set and at least one item in the cart
TBD
TBD
TBD
TBD
TBD
TBD
Powered by Doctave