Nexway Monetize reference

JWT Authentication

Operation HTTP Request Resource Request Description
getUserToken
POST /iam/tokens
TokenRequest Get/refresh a token
invalidateToken
DELETE /iam/tokens/reset
Invalidate a token

Manage Users

Operation HTTP Request Resource Request Description
createUser
POST /iam/users
User Create a user
getUser
GET /iam/users/{itemId}
Get a user by id
getAllUsers
GET /iam/users
Get list of users
updateUser
PUT /iam/users/{id}
UserUpdate Update a user
deleteUser
DELETE /iam/users/{id}
Delete a user
resetUserPassword
POST /iam/users/resetpassword/{realm}/{token}
UserCredential Reset a password

Manage Customers

Operation HTTP Request Resource Request Description
getCustomer
GET /customers/{id}
Get a customer by id
getCustomerByName
GET /customers/name/{name}
Get a customer by name
getCustomerByRealmName
GET /customers/realm/{name}
Get a customer by realm name

Manage Products

Operation HTTP Request Resource Request Description
createProduct
POST /products
Product Create a product
getProduct
GET /products/{id}
Get a product by id
getAllProducts
GET /products
Get list of products
updateProduct
PUT /products/{id}
ProductUpdate Update a product
deleteProduct
DELETE /products/{id}
Delete a product
createProductAsset
POST /products/{id}/assets
Create an asset on a product
getProductAsset
GET /products/{id}/assets/{assetId}
Get an asset of a product
getAllProductAssets
GET /products/{id}/assets
Get list of assets of a product
deleteProductAsset
DELETE /products/{id}/assets/{assetId}
Delete an asset from a product
deleteProductCountry
DELETE /products/{id}/price/{country}
Delete a country from a product
deleteProductLocale
DELETE /products/{id}/description/{locale}
Delete a locale from a product

Manage Stores

Operation HTTP Request Resource Request Description
createStore
POST /stores
Store Create a store
getStoreByName
GET /stores/name/{name}
Get a store by name
getAllStores
GET /stores
Get list of stores
updateStore
PUT /stores/{id}
Store Update a store
deleteStore
DELETE /stores/{id}
Delete a store

Manage Carts

Operation HTTP Request Resource Request Description
getAllCarts
GET /carts
Get list of carts
deleteCart
DELETE /carts/{id}
Delete a cart

Manage Orders

Operation HTTP Request Resource Request Description
getOrder
GET /orders/{id}
Get an order by id
getAllOrders
GET /orders
Get list of orders
getOrderEmail
GET /orders/{id}/emails/{emailId}
Get an email of an order
getOrderDetail
GET /orderviews/{id}
Get an order detail by id
cancelOrder
POST /retention/cancel
Cancel Payload Cancel an order

Manage Endusers

Operation HTTP Request Resource Request Description
createEnduser
POST /endusers
EndUser Create a new enduser
getEnduser
GET /endusers/{id}
Get an enduser by id
getEnduserByStoreAndEmail
GET /endusers/{storeId}/{email}
Get an enduser by store and email
getAllEndusers
GET /endusers
Get list of endusers
updateEnduser
PUT /endusers/{id}
EndUser Update an enduser
initEnduserPassword
PUT /endusers/initpassword/{token}
PasswordModification Initialize enduser's password
updateEnduserPassword
PUT /endusers/updatepassword/{token}
PasswordModification Update enduser's password
resetEnduserPassword
POST /endusers/resetpassword
ResetPasswordRequest Request reset password

Enduser acccount APIs

Operation HTTP Request Resource Request Description
getEnduserToken_1
POST /endusers/public/login
LoginRequest Enduser: Login request
contactCustomerCare
POST /endusers/public/customercare
CustomerCare Enduser: Contact Customer Care

Marketing services

Operation HTTP Request Resource Request Description
dmpFeed
POST /event
Event Send information about an end-user (generic end-point)
dmpQuoteTransmitter
POST /quotes
EndpointQuoteParameter Submit a quote request

Shopper APIs

Operation HTTP Request Resource Request Description
getStore
GET /stores/public/{id}
Get a store by id
processPurchase
POST /purchases/public
Purchase Create a new purchase and process it
getPaymentToken
GET /purchases/public/token
Get payment token
getPublicProduct
GET /products/public/{id}
Get a product by id via public context
getPublicAllProducts
GET /products/public
Get all product entries via public context
createCart
POST /carts/public
CartInput Create a cart
removeProductInCart
POST /carts/public/{id}/removeproduct/
ProductUpdate Remove a product to a cart
addProductInCart
POST /carts/public/{id}/addproduct
ProductUpdate Add a product to a cart
getCart
GET /carts/public/{id}
Get a cart by id
updateCart
PUT /carts/public/{id}
CartUpdate Update a cart
updateProductInCart
PUT /carts/public/{id}/product/{productId}
ProductInput Update a product to a cart