PUT https://api.nexway.store/carts/public/{id}/products
Parameter name | Value | Description | Additional |
---|---|---|---|
id | string | id |
Required |
Parameter name | Value | Description | Additional |
---|---|---|---|
version | int64 | version |
The request body takes a complete ProductUpdate resource, containing the following writable properties:
{
"<key>": {
"priceFunctionParameters": {
"<key>": "string"
},
"quantity": "int32"
}
}
Name | Type | Description | Additional |
---|---|---|---|
<key> | map of object | ProductInput | Optional |
<key>.priceFunctionParameters | object |
Parameters of the product |
|
<key>.priceFunctionParameters.<key> | map of string | Optional | |
<key>.quantity | int32 |
This is the product quantity. |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK Success |
Cart |
401 | Unauthorized Unauthorized |
|
403 | Forbidden Forbidden |
|
404 | Not Found Not Found |
|
500 | Internal Server Error Failure |