Commercial APIs
  1. Stock
Commercial APIs
  • Authentication
    • Documentation
    • Authentication Credentials
    • Login API
      POST
  • Namshi
    • Order Webhook
    • Return Picked Up Webhook
    • Update Price API
      POST
    • Update Country Visibility API
      POST
    • Get Price and Country Visibility API
      GET
    • List Orders
      POST
  • Stock
    • Stock Update API
      POST
  • Noon Pricing
    • Core Partner Sku Info
      POST
    • Core Partner Sku Update
      POST
  • Xborder Pricing
    • create or update product pricing
      POST
    • deactivate existing product pricing
      POST
  1. Stock

Stock Update API

POST
https://oms-api-stock.noon.partners/_integ/v1/partner_stock/update/{warehouse_code}
Stock Update API is to update one or more paretner SKU's stock in one noon/namshi directship warehouse.

Request

Path Params

Header Params

Body Params application/json

Example
[
    {
        "partnerSku": "Xyz123",
        "qty": 1,
        "processingDays": 1
    }
]

Request Code 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://oms-api-stock.noon.partners/_integ/v1/partner_stock/update/' \
--header 'Server;' \
--header 'x-authproxy;' \
--header 'x-permitted-cross-domain-policies;' \
--header 'x-envoy-upstream-service-time;' \
--header 'Content-Encoding;' \
--header 'referrer-policy;' \
--header 'x-content-type-options;' \
--header 'x-frame-options;' \
--header 'x-xss-protection;' \
--header 'Content-Length;' \
--header 'Date;' \
--header 'Connection:  '\''keep-alive'\''' \
--header 'Vary:  '\''Accept-Encoding'\''' \
--header 'Set-Cookie:  '\''_npsid=<session-id>; Domain=.noon.partners; HttpOnly; Max-Age=2592000; Path=/; SameSite=lax; Secure, _nprtnetid="<partner-id>"; Domain=.noon.partners; HttpOnly; Max-Age=2592000; Path=/; SameSite=lax; Secure'\''' \
--header 'Content-Type:  '\''application/json'\''' \
--data-raw '[
    {
        "partnerSku": "Xyz123",
        "qty": 1,
        "processingDays": 1
    }
]'

Responses

🟢200Success
application/json
Body

Example
{
    "warehouseCode": "W00000000AE",
    "stock": [
        {
            "qty": 10,
            "warehouseCode": "W00000000AE",
            "stockUpdatedAt": "2025-03-25T12:13:37.104006",
            "idProcessingTime": null,
            "pskuCode": "asasdadasdads",
            "partnerSku": "Xyz123"
        }
    ],
    "message": "psku_code stock gross updated",
    "validSkus": [
        "Xyz123"
    ],
    "nonValidSkus": [],
    "nonValidPartnerSkusReasons": {}
}
🟠400Bad Request
Modified at 2025-03-25 12:37:05
Previous
List Orders
Next
Core Partner Sku Info
Built with