# Create Shipment without Paper PDF location

**URL:** https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843
**Category:** GraphQL API
**Created:** [February 26, 2024, 8:37am UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843 "2024-02-26T08:37:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Altair](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Altair](https://community.shiphero.com/u/Altair)
#### Post date: [February 26, 2024, 8:37am UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/1 "2024-02-26T08:37:49Z")

</div>

Hi Team,

We wanted to start fulfilling our order via API automatically and followed this Order Fulfillment process: [Order Fulfillment – Developer Resources | ShipHero](https://developer.shiphero.com/order-fulfillment/)

However on Create Shipment API, it is required to input a paper pdf location but I’m not sure what values to pass in here as when we fulfil the order via mobile app the shipping label pdf is generated once the order is fulfilled.  
Example shipping label pdf: [https://d2kghplsj0vn8x.cloudfront.net/prod/shipping-labels/2024/02/22/6a54e55cbb914138b7616ddf8cb19963a8863b6626c05b43b0a09bf265821b8f/445293129/f9xz146f.pdf](https://d2kghplsj0vn8x.cloudfront.net/prod/shipping-labels/2024/02/22/6a54e55cbb914138b7616ddf8cb19963a8863b6626c05b43b0a09bf265821b8f/445293129/f9xz146f.pdf)

Would like to ask how can i replicae this behaviour via API? Currently i pass an empty string on paper\_pdf\_location in order to create the shipment but there’s no shipping label pdf created.

Looking forward for your response. Thank you.

Kind Regards,  
Altair

---

<div class="post-metadata">

### Author: ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)
#### Post date: [February 26, 2024, 4:04pm UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/2 "2024-02-26T16:04:31Z")

</div>

Hello @Altair! When fulfilling using that workflow, there is no call to a carrier or for the generic label generation. The label is expected to be part of the API fulfillment process. The field you mention is the field we expect that label in.  
Have a great day!

---

<div class="post-metadata">

### Author: ![Altair](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Altair](https://community.shiphero.com/u/Altair)
#### Post date: [February 27, 2024, 2:16am UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/3 "2024-02-27T02:16:01Z")

</div>

Hi @tomasfd,

Thanks for the response. I understand that the label is expected to be part of the API fulfilment process and it’s a mandatory field. What I don’t understand is what value should i put on paper\_pdf\_location? We are not using a custom url to build our shipping labels on ShipHero as well. I tried to put an empty string to it but then whenever I tried to view the shipment it doesn’t view the pdf file.

Can you help me enlighten on this? Thank you.

Kind Regards,  
Altair

---

<div class="post-metadata">

### Author: ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)
#### Post date: [February 27, 2024, 1:49pm UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/4 "2024-02-27T13:49:37Z")

</div>

Hello @Altair! The value should be a URL to the label. If you fulfill through the API, we do not generate it. That is the field where you need to pass the URL to the PDF for the label. Our backend will then download the PDF from that URL and make it available for you to view using the “View” button in the UI. We do not generate the label if nothing is passed there, so if you put an empty string, it must be why you don’t see a label.  
Hope this clears it out!!

---

<div class="post-metadata">

### Author: ![Altair](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Altair](https://community.shiphero.com/u/Altair)
#### Post date: [February 28, 2024, 12:43am UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/5 "2024-02-28T00:43:54Z")

</div>

Hi @tomasfd ,

I understand the context, but what value should I put on the label for the pdf location then? I mean currenrly we are using the label that was provided from ShipHero but I dont know where we can get that URL.Thank you.

---

<div class="post-metadata">

### Author: ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)
#### Post date: [February 28, 2024, 12:34pm UTC](https://community.shiphero.com/t/create-shipment-without-paper-pdf-location/2843/6 "2024-02-28T12:34:47Z")

</div>

Hi Altair,  
The label we provide only gets created if the shipping is done in the UI. If you don’t ship from the UI not even the generic label for that order gets created. You will need to create a label (PDF file) on your end, upload it somewhere, and pass on the URL for us to download and attach it to the shipment/order. Let me know if you have further doubts! Have a great day!
