Skip to content

Conversation

@andrewjtech123
Copy link
Owner

branch for swagger spec reviews

description: array of staff account e-mail addresses.
subject:
type: string
description: subject of custom message injected into the template.
Copy link

@BearGuy BearGuy Oct 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Subject more accurately represents the subject of the email rather than that of custom message

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The subject of the email that will be sent. When not provided, defaults to the Draft Order Invoice template's subject, as specified in the shop's Notification settings.

(See https://help.shopify.com/manual/sell-online/notifications for details on notification templates.)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thnx will be changed in latest master.

value if parameter not set. If email is blank everywhere, error out.
from:
type: string
description: One of the staff accoun e-mail addresses.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*account

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This email address that the email will appear to be sent from. This defaults to the shop's customer email, and if none exists, simply the shop's account email. When provided, this email address must correspond to the email address of one of the staff accounts.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thnx



responses:
'200':
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Response to POST will be 201 instead of 200

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thnx !

Copy link

@dominiquesr dominiquesr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes for send_invoice, the rest still needs to be reviewed.

type: string
description: >-
Use parameter value, but default to draft order email or customer
value if parameter not set. If email is blank everywhere, error out.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"customer value" is unclear.
The way it works is that it defaults to draft_order.email, or draft_order.customer.email if the draft doesn't have a unique email address, so maybe just customer email instead of customer value would make it clearer?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thnx will be changed in latest master

value if parameter not set. If email is blank everywhere, error out.
from:
type: string
description: One of the staff accoun e-mail addresses.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This email address that the email will appear to be sent from. This defaults to the shop's customer email, and if none exists, simply the shop's account email. When provided, this email address must correspond to the email address of one of the staff accounts.

description: array of staff account e-mail addresses.
subject:
type: string
description: subject of custom message injected into the template.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The subject of the email that will be sent. When not provided, defaults to the Draft Order Invoice template's subject, as specified in the shop's Notification settings.

(See https://help.shopify.com/manual/sell-online/notifications for details on notification templates.)

description: subject of custom message injected into the template.
custom_message:
type: string
description: Custom message that will be injected into the invoice template.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is injected a word that we use in public documentation?

Alternatively, an optional custom message which will be inserted in the email's body.

Side note, the Draft Order Invoice has to have a {{ custom_message }} liquid tag in its template for this to work, but it's an exception for it not to have one so probably not worth mentioning in the docs.

description: One of the staff accoun e-mail addresses.
bcc:
type: string
description: array of staff account e-mail addresses.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional array of email addresses to bcc. These must correspond to valid staff account email addresses.

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.

4 participants