# Set up shipping method for API orders

**URL:** <https://community.shiphero.com/t/set-up-shipping-method-for-api-orders/1250>\
**Category:** GraphQL API\
**Created:** [April 12, 2021, 10:46am UTC](https://community.shiphero.com/t/set-up-shipping-method-for-api-orders/1250 "2021-04-12T10:46:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul-wing](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@paul-wing](https://community.shiphero.com/u/paul-wing)\
**Post date:** [April 12, 2021, 10:46am UTC](https://community.shiphero.com/t/set-up-shipping-method-for-api-orders/1250/1 "2021-04-12T10:46:36Z")

</div>

Hi team,

As advised by the support, I am reposting [this ticket](https://shiphero.na3.teamsupport.com/ticket/142233) here.

I tried to set up shipping methods for a customer who creates its orders in Shiphero through the API.

It looks like I am only able to set up a shipping method for orders coming from CMS listed in the “shop” dropdown list.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/2ab0bd3512985f8f08feef1489044ede23b276d3.png)

Is there a way to create shipping methods for order coming from the API?

If no, could you please submit a feature request?

Thanks,

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [April 13, 2021, 12:19am UTC](https://community.shiphero.com/t/set-up-shipping-method-for-api-orders/1250/2 "2021-04-13T00:19:20Z")

</div>

Hi @paul-wing  
Thanks for reaching out!

For orders coming in through the Public API we don’t use mapping from [https://app.shiphero.com/dashboard/shipping-options](https://app.shiphero.com/dashboard/shipping-options)

The way to set those is upon order creation when sending:

```
  shipping_lines: {
    title: "UPS"
    price: "0.00"
    carrier: "UPS"
    method: "Ground"
  }

```

When sending the Order data.

If you would like to Automate this like mapping, you could also use Automation Rules for this, and setting for example an order Tag or Shipping method as a trigger.

Please let us know if we could provide a better explanation or there is anything else we could help with.  
Thanks in advance!  
Tom
