Skip to main content
POST
/
api
/
rest
/
invoice_shipments
Link invoice to shipment
curl --request POST \
  --url https://api.upwell.com/api/rest/invoice_shipments \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoiceId": "<string>",
  "shipmentId": "<string>"
}
'
{
  "insertInvoiceShipmentsOne": {
    "createdAt": "<unknown>",
    "invoiceId": "<string>",
    "shipmentId": "<string>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Query Parameters

invoiceId
string

"invoiceId" is required (enter it either in parameters or request body)

shipmentId
string

"shipmentId" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

invoiceId
string
shipmentId
string

Response

200 - application/json

Responses for POST /api/rest/invoice_shipments

insertInvoiceShipmentsOne
InvoiceShipments · object

columns and relationships of "invoice_shipments"