List attribute mappers
Returns a paginated list of Google Merchant attribute mappers.
Use feed_adapter to return only the mappers scoped to a given feed adapter. Query parameters other than the ones listed below are ignored.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the identifier of the feed adapter the mapper is scoped to. Exact match.
A page of attribute mappers.
A paginated list of Google Merchant attribute mappers.
Total number of mappers matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page of the attribute mapper list does not exist — the page number is beyond the last page or is not a number.
GET /api/v1/remote/1/google_merchant_attribute_mapper/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 12,
"output_key": "gtin",
"feed_adapter": 3,
"rule_set": [
{
"rule": {
"rule_type": "attributeexists",
"rule_kwargs": {
"attribute": "barcode"
}
},
"action": {
"action_type": "attrgetter",
"action_kwargs": {
"attribute": "barcode"
}
}
}
]
}
]
}Last updated
Was this helpful?

