Create Stock for Product
POSThttps://euwest.api.elasticpath.com/v2/inventories/:product_uuid
Sets the inventory quantity for the specified product. When you take this action, you are choosing to manage the inventory for this product in Commerce.
Request
Responses
- 201
- 400
- 404
- 500
Success. Stock was successfully created for product
Bad request. The request failed validation.
Not found. The requested entity does not exist.
Internal server error. There was a system failure in the platform.
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
ResponseClear