Availability of goods in stores


API documentation for updating/creating product availability in stores

Table with field descriptions:

Field Type Required? Description
shop_id int Yes Unique identifier of the store where product availability is updated.

https://admin.ecom.md/ru/admin/Base_files/ourcontacts/
qty| Float| Yes| The quantity of a product available at a specified store.
groupproductid| string| Yes| The unique identifier of the product for which store availability is being updated.

1. Update/create product availability

Method: POST
URL: {domain}/external/product/shop-update/

Description:
Allows you to set or update the availability of goods in stores.

Query example:

POST {domain}/external/product/shop-update/
Content-Type: application/json

Request body:

[
    {
        "shop_id": 281,
        "qty": 9999,
        "group_product_id": "349254"
    },
    {
        "shop_id": 282,
        "qty": 500,
        "group_product_id": "349255"
    }
]

Notes:

  1. The request can contain multiple objects to update/create availability for multiple stores or products.
  2. If availability data for a certain combination of shop_id and group_product_id already exists, it will be updated.
  3. If the specified combination of shop_id and group_product_id does not exist, it will be created.
  4. The shop_id field must be the identifier of an existing store, and it is validated during the request processing stage.
  5. The group_product_id field must match an existing product ID in the group and its format is also checked before the request is executed.

Was the article helpful?

Yes, thank you! Unfortunately no

article.helpfulQuestion