Skip to content

Add json:omitempty for TransactionInput.LabelFileType#26

Open
davetoaster wants to merge 1 commit intocoldbrewcloud:masterfrom
toasterllc:label-omitempty
Open

Add json:omitempty for TransactionInput.LabelFileType#26
davetoaster wants to merge 1 commit intocoldbrewcloud:masterfrom
toasterllc:label-omitempty

Conversation

@davetoaster
Copy link
Copy Markdown

@davetoaster davetoaster commented Jun 25, 2024

Adds omitempty to the TransactionInput.LabelFileType field, so that Shippo uses the default label file type configured in the account settings.

Without omitempty, omitting the LabelFileType field causes Shippo to return an error that the LabelFileType is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant