Skip to content

Update a product in the store

POST
/api/v3/item/modify/stores/{storeId}/products/{productId}
curl --request POST \
--url https://prod.store-management.glovo.alb.app.onlineservice.io/api/v3/item/modify/stores/example/products/example \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "price": 10, "available": true }'
storeId
required
string
productId
required
string
Media typeapplication/json

The payload for update

object
price

The new price of the product in the store. If the value is not present or is null, it will not be updated.

number format: double
Example
10
available

A flag indicating whether the product is available in the store. If the value is not present or is null, it will not be updated.

boolean
Example
true

Product updated successfully

Media typeapplication/json
object
id

Unique identifier of the attribute within a store

string
name

Product name

string
price

Product price

string
image_url

Url of the main product image. Must use HTTPS protocol.

string
description

Product description

string
available

Specifies if the product is available to be purchased

boolean
error
string
Example
{
"id": "burger1",
"name": "Burger Large",
"price": "10.0",
"image_url": "https://server.com/image",
"description": "A large cheeseburger",
"available": true
}

Invalid payload or parameters

Media type*/*
object
id

Unique identifier of the attribute within a store

string
Example
burger1
name

Product name

string
Example
Burger Large
price

Product price

string
Example
10.0
image_url

Url of the main product image. Must use HTTPS protocol.

string
Example
https://server.com/image
description

Product description

string
Example
A large cheeseburger
available

Specifies if the product is available to be purchased

boolean
Example
true
error
string

Unauthorized

Media type*/*
object
id

Unique identifier of the attribute within a store

string
Example
burger1
name

Product name

string
Example
Burger Large
price

Product price

string
Example
10.0
image_url

Url of the main product image. Must use HTTPS protocol.

string
Example
https://server.com/image
description

Product description

string
Example
A large cheeseburger
available

Specifies if the product is available to be purchased

boolean
Example
true
error
string

Internal server error

Media type*/*
object
id

Unique identifier of the attribute within a store

string
Example
burger1
name

Product name

string
Example
Burger Large
price

Product price

string
Example
10.0
image_url

Url of the main product image. Must use HTTPS protocol.

string
Example
https://server.com/image
description

Product description

string
Example
A large cheeseburger
available

Specifies if the product is available to be purchased

boolean
Example
true
error
string