customerQuotePdf
Requires a customer (portal or buyer app) session.
Base64 PDF of one of THIS partner's quotes..
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query CustomerQuotePdf($quoteId: ID!) {
customerQuotePdf(quoteId: $quoteId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerQuotePdf($quoteId: ID!) {\n customerQuotePdf(quoteId: $quoteId)\n}",
"variables": {
"quoteId": "id"
}
}
EOF
Variables:
{
"quoteId": "id"
}
Response:
{
"data": {
"customerQuotePdf": "string"
}
}
customerQuotePdf(
quoteId: ID!
): String!
Arguments
customerQuotePdf.quoteId ● ID! non-null scalar
The ID of the quote.
Type
String scalar
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.