# Passing gravity form data into woo commerce

**URL:** <https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189>\
**Category:** Get Help\
**Tags:** custom, woocommerce, gravity-flow\
**Created:** [March 5, 2021, 2:04am UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189 "2021-03-05T02:04:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maverick\_Technologys](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/maverick_technologys/32/2626_2.png) [@Maverick\_Technologys](https://community.gravityforms.com/u/Maverick_Technologys)\
**Post date:** [March 5, 2021, 2:04am UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189/1 "2021-03-05T02:04:46Z")

</div>

I should premise this with we are not using woocommerce as a traditional shopping cart sell things. We are attempting to use it to just manage office supplies. For example, if Stephanie signs out a projector for a presentation using gravity forms, upon submission we would like the associated serial number to be passed onto woocomerce and assigned to a category called borrowed for example. How can I pass a field or two into woocommerce upon form submission?

---

<div class="post-metadata">

**Author:** ![Maverick\_Technologys](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/maverick_technologys/32/2626_2.png) [@Maverick\_Technologys](https://community.gravityforms.com/u/Maverick_Technologys)\
**Post date:** [April 22, 2021, 3:27am UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189/2 "2021-04-22T03:27:23Z")

</div>

Anyone have any recommendations?

---

<div class="post-metadata">

**Author:** ![JamieO](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jamieo/32/2521_2.png) [@JamieO](https://community.gravityforms.com/u/JamieO)\
**Post date:** [April 27, 2021, 12:54am UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189/3 "2021-04-27T00:54:42Z")

</div>

You mean that the form entry would be leading to the creation of an order which is assigned to the borrowed category? Interesting idea. Would the order be fulfilled when the product is returned?

The [Gravity Flow WooCommerce extension](https://gravityflow.io/downloads/woocommerce/) does have a [create order step](https://docs.gravityflow.io/article/247-woocommerce-extension-checkout-step) but it is modelled on the idea that you want the assignee (entry submittor or other user/role in your site) to manually complete the action.

Given that the [WooCommerce Rest API is both well documented](https://woocommerce.github.io/woocommerce-rest-api-docs/#create-an-order) and based on the WP core, using [Gravity Flow’s outgoing webhook to automate the order creation](https://docs.gravityflow.io/article/114-the-outgoing-webhook-step) should be a no/very-low code effort.

Regards,  
Jamie

---

<div class="post-metadata">

**Author:** ![Maverick\_Technologys](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/maverick_technologys/32/2626_2.png) [@Maverick\_Technologys](https://community.gravityforms.com/u/Maverick_Technologys)\
**Post date:** [April 27, 2021, 5:17pm UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189/4 "2021-04-27T17:17:36Z")

</div>

> You mean that the form entry would be leading to the creation of an order which is assigned to the borrowed category? Interesting idea. Would the order be fulfilled when the product is returned?

Yes, this is exactly what I am trying to achieve. When the product is returned (via another gravity form submission, it will be assigned back to the category of Office supplies. That is my intent at least. I will follow the links your referenced (although i must be honest, webhooks somewhat confuse me without examples direct). But any guidance you can provide would be greatly appreciated.

Thank you for taking the time to respond.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:38am UTC](https://community.gravityforms.com/t/passing-gravity-form-data-into-woo-commerce/8189/5 "2022-01-05T08:38:24Z")

</div>

Closed on January 5, 2022, 8:38am UTC


