Manage Shipping Labels
Use the following methods to manage shipping labels for your Windows Hardware dashboard submissions. For an introduction to the Microsoft Hardware dashboard APIs, including the prerequisites for using the API, see Hardware dashboard API.
Methods for managing shipping labels
|Create a new shipping label||POST||
|Update a shipping label||PATCH||
Create a new shipping label
If you have not done so already, complete all the prerequisites for the Microsoft Hardware APIs.
Obtain an Azure AD access token. You must pass this access token to the methods in the Microsoft Store submission API. After you obtain an access token, you have 60 minutes to use it before it expires. After the token expires, you can obtain a new one.
You should have created a product and submission in order to create a shipping label. See Manage product submissions for details about creating a product and submission.
The response body contains a shipping label resource which includes the ID for the newly created shipping label and other details.
The following code example demonstrates how to use the Microsoft Hardware API:
The Microsoft Hardware APIs methods for creating and managing product data use the following JSON data resource:
For info about error codes, see Error codes.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.