cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

itemAffiliateWebUrl not returned in browse search request when specifying affiliateCampaignId

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.

Message 1 of 3
latest reply
2 REPLIES 2

itemAffiliateWebUrl not returned in browse search request when specifying affiliateCampaignId

Hi @bekindpleaserewind,

 

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". 

Best Regards,
eBay Developer Support
Message 2 of 3
latest reply

itemAffiliateWebUrl not returned in browse search request when specifying affiliateCampaignId

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.

Message 3 of 3
latest reply