- Emole Developer FrontEnd APi EndPoints
- Authintication
- Api Flow Chart
- Public Back In Stock Subscription
- Public Blog
- Public Category
- Public Checkout
- Get order summary
- Get all billing addresses
- Select billing address
- Add a new billing address
- Get all pickup points
- Get all shipping addresses
- Select shipping address
- Add a new shipping address
- Get all shipping methods
- Select shipping method
- Get all payment methods
- Select payment method
- Prepare payment info model
- Validate the payment info
- Prepare confirm order model
- Confirm and pay the order
- Get completed order info
- Public Common
- Public Customer
- Impersonate a customer
- Get guest token to continue as a guest
- Prepare login model
- Login
- Logout
- Refresh access token on expiration
- Prepare password recovery model
- Submit password recovery request
- Prepare the customer registration model
- Submit the customer register request
- Check username availability
- Prepare customer navigation model
- Get the customer info
- Update the customer info
- Delete the external authentication record
- Get customer addresses
- Delete the customer address
- Prepare the add new customer address model
- Add a new customer address
- Get specific customer address
- Update the customer address
- Get the customer downloadable products
- Get user agreement
- Prepare change password model
- Submit the change password request
- Get customer avatar
- Upload customer avatar
- Remove customer avatar
- Prepare GDPR tools model
- Export customer GDPR info
- Delete request of GDPR info
- Prepare check gift card balance model
- Check gift card balance
- Public Download
- Public Forum
- Get all forums
- Get all active discussions
- Get active discussions in small for forum's index page
- Get specific forum group
- Get specific forum
- Watch/Unwatch forum
- Get specific forum topic
- Watch/Unwatch forum topic
- Prepare the move topic model
- Move topic to another forum
- Delete topic
- Prepare create topic model
- Create a new forum topic
- Prepare edit topic model
- Update the forum topic
- Delete the post
- Prepare create post model
- Create a new forum topic post
- Prepare edit post model
- Update the post
- Vote the post
- Get last/latest post
- Search into forum
- Get customer forum subscriptions
- Delete customer forum subscriptions
- Prepare customer profile model
- Public General
- Get Topic
- Ping to check the api server status
- Get all locale string resources
- Get all settings of current store
- Get header links info
- Get footer info
- Get polls to be displayed on home page
- Vote a poll
- Get all topics
- Authenticate the topic(page)
- Get nivo slider images(plugin)
- Prepare the contact us model
- Submit the contact us request
- Prepare the contact vendor model
- Submit the contact vendor request
- Prepare newsletter box model
- Subscribe to the news letters
- Public Manufacturer
- Public News
- Public Order
- Public Private Messages
- Public Product
- Get products to be displayed on home page
- Get best selling products
- Get a product details
- Change and apply product attributes
- Estimate shipping
- Get product combinations
- Get marked as new products
- Get product reviews
- Add a new product review
- Set product review helpfulness
- Get customer product reviews
- Prepare product email a friend model
- Email the product to a friend
- Get popular product tags
- Get products by tag
- Get related products
- Get cross sell products
- Get also purchased products
- Public Return Request
- Public Search
- Public Shopping Cart
- Get selected checkout attributes
- Change and apply checkout attributes
- Upload product attribute file
- Upload checkout attribute file
- Get customer cart
- Delete cart items
- Update quantities of the cart items
- Add product to the cart
- Apply discount coupon
- Apply gift card coupon
- Prepare estimate shipping model
- Estimate shipping
- Select shipping option
- Remove discount coupon
- Remove gift card coupon
- Get order totals
- Start checkout (to validate cart and go on checkout page)
- Get customer wish list
- Add product to wish list
- Delete wish list items
- Update quantities of wish list items
- Move wish list items to cart
- Prepare email wish list model
- Send wish list link on email
- Public Vendor
- Emole Developer BackEnd Api
- categories
- customers
- languages
- manufacturers
- news letter subscriptions
- orders
- productattributes
- product category mappings
- product manufacturer mappings
- products
- productspecificationattributes
- shopping cart items
- specificationattributes
- topics
- token
- Get CountriesGET
- Get All Customer RolesGET
- Get Current StoreGET
- Get All StoresGET
Batch Create Shopping Cart Items
POST
https://test.e-mole.net/api/shopping_cart_items/batch
Last modified:2025-02-03 20:25:16
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Content-Type
stringÂ
required
Example:
application/json
Accept
stringÂ
required
Example:
text/plain
Body Params application/json
ObjectPropertyNameValuePairs
objectÂ
required
irure_56
objectÂ
required
in__
objectÂ
required
parameters
objectÂ
required
customer_id
integerÂ
required
shopping_cart_type
stringÂ
required
items
array [object {1}]Â
required
Example
{
"ObjectPropertyNameValuePairs": {
"irure_56": {},
"in__": {}
},
"parameters": {
"customer_id": -61339988,
"shopping_cart_type": "<string>",
"items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.e-mole.net/api/shopping_cart_items/batch' \
--header 'Accept: text/plain' \
--header 'Content-Type: application/json' \
--data-raw '{
"ObjectPropertyNameValuePairs": {
"irure_56": {},
"in__": {}
},
"parameters": {
"customer_id": -61339988,
"shopping_cart_type": "<string>",
"items": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
]
}
}'
Responses
🟢200Success
application/json
Body
shopping_carts
array [object {13}]Â
required
shopping_cart_type
objectÂ
required
product_attributes
array [object {1}]Â
required
customer_entered_price
numberÂ
required
quantity
integerÂ
required
rental_start_date_utc
stringÂ
required
rental_end_date_utc
stringÂ
required
created_on_utc
stringÂ
required
updated_on_utc
stringÂ
required
product_id
integerÂ
required
product
objectÂ
required
customer_id
integerÂ
required
customer
objectÂ
required
id
integerÂ
required
Example
{
"shopping_carts": [
{
"shopping_cart_type": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"product_attributes": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_entered_price": -89396504.34610811,
"quantity": -55629270,
"rental_start_date_utc": "1988-09-30T23:47:55.405Z",
"rental_end_date_utc": "2016-02-03T18:50:49.337Z",
"created_on_utc": "2016-09-05T06:00:16.349Z",
"updated_on_utc": "1993-12-29T02:23:38.009Z",
"product_id": 85788440,
"product": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_id": 29528100,
"customer": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": 60714691
},
{
"shopping_cart_type": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"product_attributes": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
},
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"customer_entered_price": 51661882.413650185,
"quantity": -2533788,
"rental_start_date_utc": "1979-03-23T23:42:38.985Z",
"rental_end_date_utc": "1985-12-24T23:06:38.736Z",
"created_on_utc": "1946-05-20T08:25:17.270Z",
"updated_on_utc": "2013-02-24T12:42:41.598Z",
"product_id": 75211704,
"product": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"customer_id": -75677416,
"customer": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"id": 3393832
}
]
}
🟠400Bad Request
🟠401Unauthorized
🟠404Not Found
Modified at 2025-02-03 20:25:16