E-commerce API
GET /services/webshop/v1/{websiteId}/{feedId}/product-feed.xml Public

Google Shopping Feed by Filter

Returns a filtered Google Merchant Center compatible XML product feed.

Parameters

NameTypeInRequiredDescription
websiteId string path Required
feedId string path Required

Responses

200
422
429
Filtered Google Shopping XML feed
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Body application/xml
Validation error
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
errors object
errors.feed string
Too Many Requests — rate limit exceeded
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Retry-After integer Seconds until the rate limit resets 60
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
curl -X GET "https://api.wemasy.nl/api/services/webshop/v1/{websiteId}/{feedId}/product-feed.xml" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/xml, application/json"
fetch('https://api.wemasy.nl/api/services/webshop/v1/{websiteId}/{feedId}/product-feed.xml', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/xml, application/json'  }})
.then(r => r.text())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
    ->accept('application/xml, application/json')
    ->get('https://api.wemasy.nl/api/services/webshop/v1/{websiteId}/{feedId}/product-feed.xml');
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/xml, application/json"
}
r = requests.get("https://api.wemasy.nl/api/services/webshop/v1/{websiteId}/{feedId}/product-feed.xml", headers=headers)
print(r.text)
Response Example
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Products Feed</title>
    <link>https://example.com</link>
    <description>Filtered product feed</description>
    <item>
      <g:id>123</g:id>
      <g:title>T Shirt</g:title>
      <g:price>29.99 EUR</g:price>
      <g:availability>in stock</g:availability>
      <g:condition>new</g:condition>
    </item>
  </channel>
</rss>

Try It
websiteId Required
feedId Required

Export