Skip to main content

labels

Overview

Namelabels
TypeResource
Idgoogledevelopers.content.labels

Fields

NameDatatypeDescription
accountLabelsarrayThe labels from the specified account.
nextPageTokenstringA token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Methods

NameAccessible byRequired ParamsDescription
accounts_labels_listSELECTaccountIdLists the labels assigned to an account.
accounts_labels_createINSERTaccountIdCreates a new label, not assigned to any account.
orderreturns_labels_createINSERTmerchantId, returnIdLinks a return shipping label to a return id. You can only create one return label per return id. Since the label is sent to the buyer, the linked return label cannot be updated or deleted. If you try to create multiple return shipping labels for a single return id, every create request except the first will fail.
accounts_labels_deleteDELETEaccountId, labelIdDeletes a label and removes it from all accounts to which it was assigned.
accounts_labels_patchEXECaccountId, labelIdUpdates a label.