09-23-2024 05:02 PM
Hi,
I just signed up yesterday for the eBay Partner Network. I updated my code to specify the affiliateCampaignId in the X-EBAY-C-ENDUSERCTX header when sending browse/search queries and am receiving back an empty itemAffiliateWebUrl every time. I tested in the API Explorer and I receive the correct response for itemAffiliateWebUrl. Do I need to specify a specific scope or something to get results to include the affiliate web URL, or get something approved maybe?
Thanks.
09-27-2024 10:37 AM
Browse API search call is returning the itemAffiliateWebUrl field in the response when using the X-EBAY-C-ENDUSERCTX request header with affiliateCampaignId value.
Make sure you are using the X-EBAY-C-ENDUSERCTX correctly as mentioned in the "Buying Integration Guide".
09-30-2024 01:25 AM
I am generating the header as expected in the guide:
I am passing the header X-EBAY-C-ENDUSERCTX with the value:
affiliateCampaignId=<my campaign id number>,affiliateReferenceId=some_random_reference
This doesn't seem to work in Sandbox (no results returned) and in production it is returning an empty itemAffiliateWebUrl.
I am using the Browse API search endpoint.
Any help on this would be appreciated.
My account scope is limited to the following: https://api.ebay.com/oauth/api_scope
Do I need additional permissions to utilize my EPN id or am I missing something here entirely as this is blocking development efforts.