Pre-deliver Pdf
post
Pre-deliver Pdf
Resource URL
https://api.stubcloudprod.com/sellers /listings/pdf/v3/{listingId}
Header Parameters
Name | Values | Description |
---|---|---|
Authorization
(required) |
To generate an access token, use the [generateToken API](https://developer.stubhub.com/oauth/apis/post/accesstoken). Note that you will need to add a 'Bearer ' prefix to your access token. Otherwise, you'll get an 'Invalid Access Token' error |
|
Content-Type
(required) |
multipart/form-data |
|
Content-Disposition
(required) |
This header indicates the data that is passed in the HTTP request for each subpart of the multipart/form-data. In this API call, there are two subparts. - The first subpart contains data in JSON format about the listing itself: 1. The ticket row/seat numbers. 2. The name of the PDF file for each ticket in the listing. Each PDF file is a ticket that contains complete information about the Section, Row, Seat, and the type of the ticket. Before uploading the PDF file, the pre-delivery service validates the seller and PDF file. After all tickets for the listing are delivered, the listing is marked as pre-delivered. - The second subpart references the PDF file object for each ticket that is uploaded to the listing. **Note**: This API allows the user to upload multiple files at one time. |
Body Parameters
Request Body
listingId The StubHub listing ID to pre-deliver null true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
400400
Bad Request
-
401401
Invalid Access Token. You'll get this error if your access token expired or you didn't add the 'Bearer ' prefix to your token If your token expired, use the [refreshToken API](https://developer.stubhub.com/oauth/apis/post/refresh_accesstoken) to get a new access token.
-
403403
Forbidden
-
404404
Not Found
-
500500
inventory.listings.systemError
Resource Summary |
|
Security |
|
Content Type |
multipart/form-data |
Category |
Predeliver Listing |
Working...