createPDFFile

Create a PDF file upload process and return a signed URL for upload

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_DEVELOPER

    ROLE_PARTNER

    Arguments

    input CreatePDFFileInput!

    CreatePDFFileInput fields

    productId ID!

    Id of the product to add the PDF file to

    name LocalStringInput!

    Name of the PDF file

    onlyVisibleToResellers Boolean!

    Whether the PDF is only visible to resellers

    Return Fields

    signedUrl URL

    Signed URL for uploading the PDF file

    signedUrlExpiresAt DateTime

    The date and time the signed URL expires at

    uploadProcessId ID

    Unique identifier for tracking the upload process

    userErrors [CreatePdfFileError!]

    User errors

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.