All Questions
4 questions
0
votes
2
answers
57
views
Do a action before insert products by endpoint magento 2
I wanna make a verification before inserting products on my Magento 2.3 in the default endpoint.
Here is a sample:
I post a product on rest/default/V1/products endpoint, but I want to check if this ...
3
votes
1
answer
223
views
invalid date when adding product with custom options(datetime) using REST API
I have a product with a custom option DateTime filed in product options
When I try to place an order using rest API. My order array is given below
$order = array (
'cartItem' =>
array (
...
0
votes
1
answer
253
views
Magento2 : Add simple product with custom options To cart Rest API
hello I need to Add simple product with custom options To cart throw Rest API I succeeded t add the simple product , price is correct and every thing is ok but unfortunately I didn't succeed to add ...
1
vote
2
answers
394
views
direct sql query in custom module
I have created a new web API module, this API should execute a direct SQL query.
This is the code:
namespace Mymodule\ProductByEbayItemid\Model\ProductByEbayItemidQuery;
class ...