- Connect/ConnectID API Reference
- Overview
- Customer Data
- Address
- Category
- Customer
- External Reference
- Order Management
- Article
- Coupon
- Fulfillment
- Order
- Reward
- User
- Voucher Coupons
- Payment Services
- Invoice
- InvoiceAddress
- Klarna
- Nexi
- PayEx
- Payment
- Vipps
- Privacy
- Consent
- Access private data
- Remove private data
- List consent event history - client mode
- List consent text - client mode
- List consent text history - client mode
- List consent groups - client mode
- List consent given issuer - client mode
- List consent event history
- List consent given issuer
- List consent groups
- Register consent event - client mode
- Register consent event
- Permission/Shield
- Privacy
- Consent
- Product & Services
- Complaint
- Delivery
- DeliveryStop
- Issue
- Product
- ProductDeliveryPlan
- ProductDependency
- Sharing
- Send subscription share invitation
- Accept subscription share invitation
- Decline share - client mode
- List shareable subscription rules
- List distribution levels
- Change subscription share invitation details
- List all shared subscribers
- Cancel sharing
- List shareable subscription nets
- Change shareable subscription nets
- Change distribution level
- Subscription
- Recruitment
- User Data
- Diverse
Change stocks - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/client/stock/update
Stock
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mediaconnect.no/capi/v1/client/stock/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"updates": [
{
"warehouseId": 120,
"warehouseProductId": "House24",
"stockQuantity": 26,
"status": "expired"
}
]
}'
Response Response Example
200 - Success
{
"status": "ok"
}
Request
Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read
-For all accessor
Body Params application/json
updates
array [object {4}]
optional
warehouseId
integer
optional
warehouseProductId
string
optional
<= 32 characters
stockQuantity
number
optional
status
enum<string>
optional
Allowed values:
instockblockedexpired
Examples
Responses
🟢200OK
application/json
Body
status
string
optional
Example:
ok
🟠400Bad Request
🟠429429
🔴500Server Error