Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Generate Packing Slip Link

Developer Preview

Generates a link to a PDF packing slip file for given orders.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Orders or the Read Orders permission scope.

GET

https://www.wixapis.com/stores/v2/orders/packingSlip/{orderId}

Path Params

NAME
TYPE
DESCRIPTION
orderId
Required

string

Order ID.

Response Object

NAME
TYPE
DESCRIPTION
link

string

Link to PDF file.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Request

curl

Copy Code
1curl -X GET https://www.wixapis.com/stores/v2/orders/packingSlip/{order_id} \
2 -H 'Content-Type: application/json' \
3 -H 'Authorization: <AUTH>'

Response

json

1
2{"link": "https://wixmp-2a4e9d4a359f928a5977f91b.appspot.com/_api/download/file?downloadToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1cm46YXBwOjRjMTRmNzJiOGE0MDRhYjE5YjhmYWZmZmE4ZWViYzhmIiwib2JqIjpudWxsLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdLCJpc3MiOiJ1cm46YXBwOjRjMTRmNzJiOGE0MDRhYjE5YjhmYWZmZmE4ZWViYzhmIiwiaWF0IjoxNTg2MDg1NTI1LCJqdGkiOiI3ZjhjMDQ0MmQwNzUiLCJleHAiOjE1ODYwODYxMzYsInBheWxvYWQiOnsicGF0aCI6Ii8yZDNjYjgzMi05YWEyLTRkZGEtOTQ1MS0zOTIyYzU4MWNkYWEvb3JkZXJzXzE1ODYwODU1MzM2NjcucGRmIiwic2F2ZUFzIjoib3JkZXJzXzE1ODYwODU1MzM2NjcucGRmIn19.I01NafJ4jJD6OrqxAb413d2UnXaXIYD6hhzi5B9Obsk"}