All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

REST API: Setting Item Quantity / Need to Get Current Reserved Quantity of an item

Working on using the Magento 2.3 Rest API to set the Quantity of an item available based on a separate datastore. I realize that the formula for getting the Total Salable quantity is based on the ...
0
votes
1answer
28 views

Magento 2 set order extension attributes via API

Is it possible to set an order's extension attribute value when creating the order via the API or is there an appropriate API endpoint to update an existing order with this information? For example ...
0
votes
0answers
17 views

Any way to get order source thought api?

I'm working with Magento as a third-party application. I'm fetching orders(API) and just want to know to which warehouse(source) his line items refers. I can see this on the GUI side (screenshot), but ...
0
votes
1answer
26 views

Create product viewable by only specific customer or customer group

I want to add a product that can be viewed only by a specific customer or group of customers via Rest API Can anyone tell me how can I achieve this? Any help would be appreciated. Thanks in advance....
0
votes
1answer
23 views

Magento 2.3 REST API: How to update shipment?

I need to add carrier code and tracking number to the shipment by REST API. For this, I am trying 2 different codes which I found from the search as below. But it doesn't update anything, not display ...
3
votes
0answers
47 views

Magento 2.3 REST API, GETs being refused access while POST/PUTs are OK

I am using some Magento 2.3 REST calls, and I am finding that for certain calls (and it seems to be consistently GETs) Magento is returning an authentication error, while for others (which seem to be ...
1
vote
1answer
12 views

Magento 2 Rest API For Android How to Create

Magento 2 site How to create the REST API and how to send data with authenticates for mobile app.Please describe Step by Step. Thanks
0
votes
1answer
20 views

How to get order ID after placing order with rest API

How can we get the increment_id when you finish a order as a login customer? I try to get the increment_id to show in a succes page but the only ID I'm receving is the order_id after I've made the /...
1
vote
1answer
34 views

REST API: get order entity_id from order increment_id

How to get order entity_id from order increment_id by REST API?
1
vote
0answers
12 views

Mergen Guest Cart to Customer cart and Customer Cart to Guest Cart via REST API?

I am trying to merge/convert a guest cart into a customer cart (vice versa) using the Magento REST API. Right now I am trying to do so by adding the products to the other cart before logging in or out....
4
votes
0answers
31 views

POST product with REST API doesn't save manufacturer attribute

I'm able to save a product with a POST request to my REST API endpoint. Now I would like to save manufacture attribute,too. I prepare this json structure { "product": { "sku": "code", ...
1
vote
1answer
28 views

Payment information API returns 400 error

Link http://protectcovers.ga/rest/store_view_eu/V1/guest-carts/ddukH6HL2TlFsm9WkJmOkMDSqmkiUfbW/payment-information I tried to send the next json: { "cartId": "ddukH6HL2TlFsm9WkJmOkMDSqmkiUfbW", ...
0
votes
1answer
36 views

Magento 2.3.1 - Payment methods api

I have a payment module for Magento 2.2 for one Croatian online payment provider, i tried it to install on Magento 2.3.1 and everything is fine but when i want to go on Checkout it says https://www....
1
vote
1answer
43 views

Magento 2 MSI - How to listen the event of all source item stock update API

Am using the below rest API to update bulk product's Stock information /rest/all/V1/inventory/source-items My requirement is that I need to listen the observer or some file whenever this API is ...
1
vote
0answers
41 views

How to get the an order through rest api?

Get the an order through rest api Here is the script i tried <?php $userData = array("username" => "admin", "password" => "Abcd1234"); $ch = curl_init("http://example.com/index....
0
votes
1answer
74 views

404 error while updating Product inventory by rest API Magento 2.3.1

I am trying to integrate Magento 2.3.1 with Linnworks, All the api calls are working fine expect the CatalogInventory. When we try to update the product inventory using rest PUT https://sitename.com/...
2
votes
1answer
290 views

Magento 2.3 - Updating a customer without store_id sets the store_id to default using REST

There are multiple store views in my site. I created a customer and set his store view to some value that is not the default. Use the rest api to change the first name of the customer (Like: put to ...
1
vote
0answers
25 views

update stripe information into magento 2.3 orders using rest api

I am creating an order using rest API in Magento 2.3, Order created using cash on delivery payment method. In my scenario need to create an order using stripe payment gateway method. Cash on ...
1
vote
2answers
239 views

Magento 2.3 REST API not working for default store - rest/V1/inventory/source-items

In Magento2.3 I'm using http://localhost/new-jk/rest/V1/inventory/source-items it is working fine for all stores but only default is not updating properly The service is updating quantity of ...
2
votes
1answer
53 views

How to call dispatch events specific for Mobile?

How to call dispatch event for REST API's only in mobile devices.
2
votes
2answers
214 views

Magento 2 - Customer/Token Rest API issue

Customer is signup through rest api in magento 2.3 successfully. after signup, I am unable to get customer's token through customer/token rest api. Api returns following error: Any help, experience ...
2
votes
0answers
251 views

Need to get customer order list from Rest API

First I tried this endpoint /rest/V1/orders to get list of all orders history for a customer but got this error: { "message": "The consumer isn't authorized to access %resources.", "parameters": { ...
0
votes
0answers
37 views

Magento 2.3 Rest API: Error message for each cart item

I'm using this endpoint to get cart items: /rest/V1/carts/mine/items How can I get error message for each cart item without modifying PHP code like demo website did when I go to cart page? (I want ...
0
votes
0answers
91 views

magento 2 add shipping icon to estimate-shipping-methods json

I have added shipping icon to shipping methods and its display on frontend when page load first time. When I change the country shipping methods reflect and shipping icon gone because there will json ...
0
votes
1answer
90 views

Inventory management after order created via rest API in Magento 2.x version ( without cart)

I have created Magento rest API for the third party integrations and I have used a couple of API's for listing products, fetching product detail and created order. I used [PUT] - /V1/orders/create - ...
0
votes
1answer
122 views

How to add configurable product In magento 2 using rest api?

I created a configurable product using the below link and Payload 1 Configurable Product Created http://localhost/rest/V1/products { "product": { "sku": "Js-Con", "name": "Js-Con", "...
0
votes
1answer
122 views

Magento 2.3 REST API Json response format issue

How I can change the json format from [ [ { "success": [ { "code": 200, "response": { "...
0
votes
1answer
504 views

Magento 2.3 - How to Get product-salable-quantity using REST API?

I followed the Magento documentation regarding fetching Product Salable quantity using REST API. https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/check-salable-quantity.html But I'm ...
3
votes
1answer
44 views

How to add custom data in the output of GET API to get children of configurable product in Magento 2.3?

To get children of Configurable Product, I'm using following API /V1/configurable-products/{{SKU}}/children I'm getting following output: [ { "id": 3234, "sku": "ABC1006", ...
1
vote
2answers
92 views

Magento Api request foreach error

I am trying to get attribute option Ids for a sku using this below api call. http://localhost/rest/V1/configurable-products/sh8/options/all I used this curl request: $curl = curl_init(); ...
3
votes
0answers
175 views

How to get price items of bundle product in order API-REST Magento 2.3?

How to get the price of items of bundle product in order?
1
vote
0answers
80 views

How to allow REST API calls from localhost or 127.0.0.1?

We are trying to develop an application (in Angular) to make REST API calls to Magento. How can we modify Magento's ".htaccess" to allow calls from http://localhost:4200 or http:\\127.0.0.1 ? This ...
1
vote
0answers
366 views

Magento 2.3 EE Bulk Asynchronous API Operations using RabbitMQ

We are currently testing the Bulk Asynchronous API Operations in Magento 2.3 EE (clean installation) with RabbitMQ. The issue we are finding is whilst creating configurable and simple products. It ...
4
votes
1answer
248 views

Get tax class ID by tax rate with REST API

I'm trying to get a tax class ID with only the tax rate value, all with the API. I found that I need a first request that returns me the tax rate ID : /rest/all/V1/taxRates/search?searchCriteria[...
1
vote
1answer
171 views

Bulk products using rest Api with Rabbitmq custom queue

I want to create custom module in magento 2.3 beta to track the publisher message and processing message in consumer
37
votes
8answers
3k views

What is Progressive Web Apps, or PWAs in Magento 2?

What does it mean that Magento is becoming a Progressive Web Application platform? What will be the code structure of PWAs in Magento? What is the deal with REST APIs and PWAs?