Skip to content

Export endpoint #740

@tomarnettcb

Description

@tomarnettcb

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

15.3.4

Bug summary

Hi,
This could be me not using the endpoint as intended as i am quite new to using Umbraco commerce but i think there is an issue with the /umbraco/commerce/management/api/v1/export-templates/export end point.

I have added an GUID for an order as well as the template GUID I wish to use to the body and also set the entity type to be "OrderReadOnly". This then returns a 500 error.

Specifics

error.txt

Steps to reproduce

Create products and an order as well as a new export template for Orders - use the same template as the default print one, mime type and file extension for a pdf

Hit the endpoint in postman after verifying the postman connection with correct guid for the order and the template in the body. More info at {baseUrl}/umbraco/swagger

Expected result / actual result

200 ok response, and to export the pdf file.

Dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions