Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
Create ( |
Creates a template.
|
|
Delete ( |
Deletes a template, by ID.
|
|
Delete ( |
Deletes a template, by ID.
|
|
Get ( APIContext apiContext, string templateId ) : InvoiceTemplate |
Shows details for a template, by ID.
|
|
GetAll ( APIContext apiContext, string fields = "all" ) : InvoiceTemplates |
Lists all merchant-created templates. The list shows the emails, addresses, and phone numbers from the merchant profile.
|
|
Update ( APIContext apiContext ) : InvoiceTemplate |
Updates a template, by ID. In the JSON request body, pass a complete `template` object. The update method does not support partial updates.
|
public Create ( |
||
apiContext | APIContext used for the API call. | |
Résultat |
public Delete ( |
||
apiContext | APIContext used for the API call. | |
Résultat | void |
public static Delete ( |
||
apiContext | APIContext used for the API call. | |
templateId | string | The ID of the template to delete. |
Résultat | void |
public static Get ( APIContext apiContext, string templateId ) : InvoiceTemplate | ||
apiContext | APIContext | APIContext used for the API call. |
templateId | string | The ID of the template for which to show details. |
Résultat | InvoiceTemplate |
public static GetAll ( APIContext apiContext, string fields = "all" ) : InvoiceTemplates | ||
apiContext | APIContext | APIContext used for the API call. |
fields | string | The fields to return in the response. Value is `all` or `none`. Specify `none` to return only the template name, ID, and default attributes. |
Résultat | InvoiceTemplates |
public Update ( APIContext apiContext ) : InvoiceTemplate | ||
apiContext | APIContext | APIContext used for the API call. |
Résultat | InvoiceTemplate |