eBay Developers Program
  • Forums Sign in
  • My Account
    • My Developer Account
    • Solutions Directory
    • Applications Settings
  • Forums
    • Orders, Returns and Feedback
    • Java SDK for Trading API
    • Search
    • Selling
    • Talk to Your Fellow Devs
    • .Net SDK for Trading API
    • Tokens, Notifications, Messages
    • Feedback & Suggestions
  • Documentation
    • Release Notes
    • Finding API
    • Shopping API
    • Trading API
    • Large Merchant Services
    • Marketing Handbook
    • All Features Comparison
    • All API Documentation
  • Support
    • eBay SDKs
    • API Site Status
    • Program & News Blog
    • Compatible Application Check
    • Support Ticket
    • Knowledge Base
    • Developer Help Center
    • Search Details
  • Home
  • eBay Forums
  • eBay APIs: .NET SDK for Trading API /
avatar image

Question by michealmckeown · Feb 21, 2018 at 07:04 AM · sdkautomationlistingsellingmanagerrelistsetsellingmanageritemautomationrulecall

listing automation Assign automation rules SetSellingManagerItemAutomationRuleCall auto relist Help

I really hope you can help out! I have created an MVC web app to connect in with eBay to manage selling and order processing etc. I would like to add the functionality to assign automation rules once item is listed, e.g. for it to be relisted immediately if it has not sold. I can't quite figure out exactly how to do this. I am using the NET SDK in my application. (My account has selling manager activated)

Here is the code i have written, but it doesnt do anything. This is being called after I have used the AddItemCall and successfully listed the item.

 SetSellingManagerItemAutomationRuleCall AssignCall = new SetSellingManagerItemAutomationRuleCall();
                             SellingManagerAutoRelistType req = new SellingManagerAutoRelistType();
                             req.Type = SellingManagerAutoRelistTypeCodeType.RelistContinuouslyUntilSold;
                             req.RelistCondition = SellingManagerAutoRelistOptionCodeType.RelistImmediately;
 
                             SetSellingManagerItemAutomationRuleRequestType request = new SetSellingManagerItemAutomationRuleRequestType();
                             request.AutomatedRelistingRule = new SellingManagerAutoRelistType();
 
                             request.AutomatedRelistingRule.Type = SellingManagerAutoRelistTypeCodeType.RelistContinuouslyUntilSold;
                             request.AutomatedRelistingRule.RelistCondition = SellingManagerAutoRelistOptionCodeType.RelistImmediately;
                             request.ItemID = item.ItemID;
 
                             AssignCall.ApiRequest = request;

People who like this

0
Comment
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

27 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to list a product that is Click and collect? 0 Answers

How to find the Product Reference ID before listing an item? 1 Answer

In what cases does error code 17 occur? 0 Answers

Getting ebaytkn null 0 Answers

How to GetCategoryFeatures - DetailLevel 1 Answer


Support

Developer Help Center
eBay Developers Program Blog
API Site Status
Request Support
Knowledge Base
Developer Forums
eBay Software Development Kits

API Information

API License Agreement
API Documentation
API Call Limits
Marketing Handbook
API Features Comparison

Apps Center

Applications Directory
Solutions Directory

Social Media

     

Programs

About Us
Success Stories
Affiliate Developers
eBay Market Data Program
Developer Directory
Developer Jobs
Copyright 1999 - 2019 eBay Inc. All rights reserved. User Agreement | Privacy Policy.    Site Feedback
  • Anonymous
  • Login with eBay
  • Create
  • Ask a question
  • Forums
  • Buy APIs (BETA) - Browse
  • Buy APIs (BETA) - Order
  • Feedback, Comments, Suggestions
  • New Sell APIs - Account, Inventory, Catalog and Compliance
  • New Sell APIs - Fulfillment
  • New Sell APIs - Marketing, Analytics, Metadata
  • Post Order APIs - Cancellation
  • Post Order APIs - Inquiry, Case Management
  • Post Order APIs - Return
  • Talk to your fellow developers
  • Token, Messaging, Sandbox related issues
  • eBay APIs: .NET SDK for Trading API
  • eBay APIs: Java SDK for Trading API
  • eBay APIs: Orders, resolutions and feedback
  • eBay APIs: Search
  • eBay APIs: Selling
  • Explore
  • Tags
  • Questions
  • Users
  • Badges