Get by id
GET/merchants/:id
Get a Merchant by its id.
Request
Path Parameters
The Merchant id
Responses
- 200
- 401
Success
- application/json
- Schema
- Example (from schema)
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)
Possible values: [PROCESS, IGNORE]
Default value: PROCESS
Default Products filter action to apply during sync process.
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-07-29T15:51:28.071Z",
"custom_seller": "string",
"default_products_filter_action": "PROCESS",
"deleted": false,
"deleted_at": "2024-07-29T15:51:28.071Z",
"google_merchant_id": 0,
"id": 0,
"ignore_brand": true,
"ignore_image": true,
"modified_at": "2024-07-29T15:51:28.071Z",
"publisher_name": "string",
"refresh_token": "string",
"url": "string",
"url_strategy": "canonicalLinkAndLink",
"writer_service": "string"
}
Authentication Failure