Modify stock/price for a list of products.

PATCH /api/v2/products

Headers

  • apikey string Required

    Seller's API key

application/json

Body Required

  • sku string

    Product SKU

  • price integer

    Product price. Required if stock is not provided.

  • stock integer

    Product stock. Required if price is not provided.

Responses

  • 200

    Modified stock/price successfully

  • 400

    Request poorly formatted

PATCH /api/v2/products
curl \
 --request PATCH 'https://bi.agora.place/api/v2/products' \
 --header "Content-Type: application/json" \
 --header "apikey: string" \
 --data '[{"sku":"string","price":42,"stock":42}]'
Request examples
# Headers
apikey: string

# Payload
[
  {
    "sku": "string",
    "price": 42,
    "stock": 42
  }
]