- 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 attributesGET
- Change and apply checkout attributesPOST
- Upload product attribute filePOST
- Upload checkout attribute filePOST
- Get customer cartGET
- Delete cart itemsDELETE
- Update quantities of the cart itemsPUT
- Add product to the cartPOST
- Apply discount couponPOST
- Apply gift card couponPOST
- Prepare estimate shipping modelGET
- Estimate shippingPOST
- Select shipping optionPOST
- Remove discount couponPOST
- Remove gift card couponPOST
- Get order totalsGET
- Start checkout (to validate cart and go on checkout page)POST
- Get customer wish listGET
- Add product to wish listPOST
- Delete wish list itemsDELETE
- Update quantities of wish list itemsPUT
- Move wish list items to cartPOST
- Prepare email wish list modelGET
- Send wish list link on emailPOST
- 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 Countries
- Get All Customer Roles
- Get Current Store
- Get All Stores
Remove discount coupon
POST
https://test.e-mole.net/api/PublicShoppingCart/RemoveDiscountCoupon/{discountId}
Last modified:2023-09-13 15:55:50
Request
Authorization
Add parameter in header
Example:
X-Token: ********************
Path Params
discountId
stringÂ
required
Example:
-95421061
Query Params
prepareOrderTotals
stringÂ
required
Example:
false
Header Params
Accept
stringÂ
required
Example:
application/json
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/PublicShoppingCart/RemoveDiscountCoupon/-95421061?prepareOrderTotals=false' \
--header 'Accept: application/json'
Responses
🟢200Success
application/json
Body
IsEditable
booleanÂ
required
SubTotal
stringÂ
required
SubTotalDiscount
stringÂ
required
Shipping
stringÂ
required
RequiresShipping
booleanÂ
required
SelectedShippingMethod
stringÂ
required
HideShippingTotal
booleanÂ
required
PaymentMethodAdditionalFee
stringÂ
required
Tax
stringÂ
required
TaxRates
array [object {3}]Â
required
Rate
stringÂ
required
Value
stringÂ
required
CustomProperties
objectÂ
required
DisplayTax
booleanÂ
required
DisplayTaxRates
booleanÂ
required
GiftCards
array [object {5}]Â
required
CouponCode
stringÂ
required
Amount
stringÂ
required
Remaining
stringÂ
required
Id
integerÂ
required
CustomProperties
objectÂ
required
OrderTotalDiscount
stringÂ
required
RedeemedRewardPoints
integerÂ
required
RedeemedRewardPointsAmount
stringÂ
required
WillEarnRewardPoints
integerÂ
required
OrderTotal
stringÂ
required
CustomProperties
objectÂ
required
dolore_a9
objectÂ
required
iruredb_
objectÂ
required
Example
{
"IsEditable": false,
"SubTotal": "aute Duis eiusmod labore",
"SubTotalDiscount": "sunt voluptate occaecat sed exercitati",
"Shipping": "sint quis",
"RequiresShipping": false,
"SelectedShippingMethod": "adipisicing quis",
"HideShippingTotal": false,
"PaymentMethodAdditionalFee": "qui nisi",
"Tax": "dolore Lorem fugiat consequat",
"TaxRates": [
{
"Rate": "nulla in commodo qu",
"Value": "anim",
"CustomProperties": {
"Ut918": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"fugiat_35e": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
},
{
"Rate": "pariatur s",
"Value": "mollit anim magna",
"CustomProperties": {
"minim_cb5": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
}
],
"DisplayTax": true,
"DisplayTaxRates": true,
"GiftCards": [
{
"CouponCode": "proident labore ex nulla",
"Amount": "irure aute",
"Remaining": "do laborum Ut reprehenderit",
"Id": 91732222,
"CustomProperties": {
"ex__5": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"labore_3b": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"dolor_6f": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
},
{
"CouponCode": "eiusm",
"Amount": "in irure laborum",
"Remaining": "commodo dolore consequat",
"Id": 64535352,
"CustomProperties": {
"fugiatf": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"reprehenderit_4": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
}
],
"OrderTotalDiscount": "magna dolore velit ",
"RedeemedRewardPoints": -58630184,
"RedeemedRewardPointsAmount": "ea amet ad",
"WillEarnRewardPoints": 39128528,
"OrderTotal": "Ut ad Excepteur cillum",
"CustomProperties": {
"dolore_a9": {},
"iruredb_": {}
}
}
🟠401Unauthorized
Modified at 2023-09-13 15:55:50