- 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 pageGET
- Get best selling productsGET
- Get a product detailsGET
- Change and apply product attributesPOST
- Estimate shippingPOST
- Get product combinationsGET
- Get marked as new productsGET
- Get product reviewsGET
- Add a new product reviewPOST
- Set product review helpfulnessPOST
- Get customer product reviewsGET
- Prepare product email a friend modelGET
- Email the product to a friendPOST
- Get popular product tagsGET
- Get products by tagGET
- Get related productsGET
- Get cross sell productsGET
- Get also purchased productsGET
- 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 Countries
- Get All Customer Roles
- Get Current Store
- Get All Stores
Change and apply product attributes
POST
https://test.e-mole.net/api/PublicProduct/ChangeProductAttribute/{productId}
Last modified:2023-09-13 15:55:50
Request
Authorization
Add parameter in header
Example:
X-Token: ********************
Path Params
productId
string
required
Example:
-95421061
Header Params
Content-Type
string
required
Example:
application/json
Accept
string
required
Example:
application/json
Body Params application/json
ValidateAttributeConditions
boolean
required
LoadPicture
boolean
required
Attributes
object
required
sed_2c
string
required
Example
{
"ValidateAttributeConditions": true,
"LoadPicture": false,
"Attributes": {
"sed_2c": "quis dolor"
}
}
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/PublicProduct/ChangeProductAttribute/-95421061' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"ValidateAttributeConditions": true,
"LoadPicture": false,
"Attributes": {
"sed_2c": "quis dolor"
}
}'
Responses
🟢200Success
application/json
Body
ProductId
integer
required
Gtin
string
required
Mpn
string
required
Sku
string
required
Price
string
required
Basepricepangv
string
required
StockAvailability
string
required
Enabledattributemappingids
array[integer]
required
Disabledattributemappingids
array[integer]
required
PictureFullSizeUrl
string
required
PictureDefaultSizeUrl
string
required
IsFreeShipping
boolean
required
Message
array[string]
required
Example
{
"ProductId": -93450900,
"Gtin": "dolore magna aliqua",
"Mpn": "aliqua sed elit deserunt",
"Sku": "ullamco est dolore",
"Price": "sunt",
"Basepricepangv": "aliqua",
"StockAvailability": "occaecat deserunt nisi in",
"Enabledattributemappingids": [
-46706054,
8495653
],
"Disabledattributemappingids": [
-16382850,
43002961
],
"PictureFullSizeUrl": "Lorem Ut",
"PictureDefaultSizeUrl": "tempor laborum velit voluptate consequat",
"IsFreeShipping": true,
"Message": [
"in enim",
"in"
]
}
🟠401Unauthorized
🟠404Not Found
Modified at 2023-09-13 15:55:50