Update
Update a Merchant
Path Parameters
The Merchant id
Request Body required
Google Merchant access token
The Knowledge Graph to use for the Merchant. Please note that the Knowledge Graph will be reset. When not provided, this method will use the first available Knowledge Graph.
The custom domain (for example data.example.org)
The dataset path (for example "data")
Default value: false
True if the merchant has been deleted
The Google Merchant id
Whether to ignore the brand
property during validation
Whether to ignore the image
property during validation
The publisher name (shows in schema publisher)
Google Merchant refresh token
The website URL
Possible values: <= 50 characters
, [canonicalLinkAndLink
, canonicalLinkOtherwiseLink
]
Default value: canonicalLinkAndLink
Which strategy to use to write the url schema.
How to write the merchant data to the graph, if unsure, do not set anything (by default wordpressMerchantWriter
).
- 200
- 401
- 404
Success
Schema
The Google merchant access token
The account id
Whether the Merchant data will be synchronized automatically
The create date-time
Custom seller entity - if applicable.
The custom domain (for example data.example.org)
The dataset path (for example /data)
Default value: false
True if the merchant has been deleted
The delete date-time
The Google Merchant id
The unique id
Whether to ignore the brand
property during validation
Whether to ignore the image
property during validation
The last modified date-time
The publisher name (shows in schema publisher)
The Google merchant refresh token
The website URL
Possible values: <= 50 characters
, [canonicalLinkAndLink
, canonicalLinkOtherwiseLink
]
Default value: canonicalLinkAndLink
Which strategy to use to write the url schema.
How to write the merchant data to the graph, if unsure, do not set anything (by default wordpressMerchantWriter
).
{
"access_token": "string",
"account_id": 0,
"automatic_synchronization": true,
"created_at": "2024-11-19T00:12:35.616Z",
"custom_seller": "string",
"deleted": false,
"deleted_at": "2024-11-19T00:12:35.616Z",
"google_merchant_id": 0,
"id": 0,
"ignore_brand": true,
"ignore_image": true,
"modified_at": "2024-11-19T00:12:35.616Z",
"publisher_name": "string",
"refresh_token": "string",
"url": "string",
"url_strategy": "canonicalLinkAndLink",
"writer_service": "string"
}
Authentication Failure
Not Found