Title: Create Product feeds Programaticly
Last modified: December 13, 2024

---

# Create Product feeds Programaticly

 *  Resolved [cleverinformatica](https://wordpress.org/support/users/cleverinformatica/)
 * (@cleverinformatica)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/create-product-feeds-programaticly/)
 * Hi all,
 * I need guidance with a integration i am currently developing. I am using this
   plugin to sync all my inventory to amazon, as well as create existing product
   from woocommerce on amazon. I already checked you documentation and am using 
   the do_action(‘wpla_prepare_listing’, $batch, $profile_id) to programaticly create
   feeds for all my products. However i need to be able to check if the products
   i am trying to sync already are on a feed, to prevent the same product on different
   feeds, as well as a way to programaticly remove deleted products from my submited
   feed. Lastly i have arround 60k products on my store, 30k of them may be eligible
   for submission (stock, meta fields, etc), but what should the feed size be to
   prevent large loads and timeouts?? Currently testing with 5k per feed.
   I know
   this is quite technical and far from the support you provide for the lite version,
   i only need to know if these requirements are possible and possible hooks/post
   types to implement these needs.
 * Best regards
 * Clever

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [WP Lab Support](https://wordpress.org/support/users/wp-lab-support/)
 * (@wp-lab-support)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/create-product-feeds-programaticly/#post-18206348)
 * Hi [@cleverinformatica](https://wordpress.org/support/users/cleverinformatica/)
 * I will check with the development team and report back.
 * Kind regards,
 * John
 *  Plugin Support [iammvc](https://wordpress.org/support/users/iammvc/)
 * (@iammvc)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/create-product-feeds-programaticly/#post-18209350)
 * Hi [@cleverinformatica](https://wordpress.org/support/users/cleverinformatica/)
 * You can use `do_action('wpla_submit_pending_feeds')` to have WP-Lister generate
   the feeds for you. All you have to do is prepare your listings and WP-Lister 
   will handle generating the feeds for them.
 * As for removing listings (offers) from Amazon, all you have to do is update the
   listing’s status in WP-Lister to `trash` (status column in the amazon_listings
   table) and WP-Lister will generate a feed that removes your listing/offer on 
   Amazon.
 * The feed size would really depend on your server’s resources. The default is 
   1000 but if your server can handle 5000 items, then that’s not a problem.
 * Kind regards,
 * Mike

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create Product feeds Programaticly’ is closed to new replies.

 * ![](https://ps.w.org/wp-lister-for-amazon/assets/icon-256x256.png?rev=2160056)
 * [WP-Lister Lite for Amazon](https://wordpress.org/plugins/wp-lister-for-amazon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-lister-for-amazon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-lister-for-amazon/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-lister-for-amazon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-lister-for-amazon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-lister-for-amazon/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [iammvc](https://wordpress.org/support/users/iammvc/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/create-product-feeds-programaticly/#post-18209350)
 * Status: resolved