Adds a shipping method to an account.
The unique ID of the account.
A valid API key with a scope of AccountLists
The name of the shipping method. Maximum length is 32 characters and it cannot be empty.
Indicates if the shipping method is active or inactive. The default is active.
"shippingMethod": "UPS Ground",
shippingMethod is required, cannot be empty, and cannot exceed 32 characters.
A shipping method's name must be unique within an account. If a shipping method with the same name already exists for the account, the request will fail with a 409 Conflict.
If active is omitted, the shipping method is created as active.
Location — the URL of the newly created shipping method.
The shipping method was created.
The shipping method was not created. This occurs if shippingMethod is missing, empty, or exceeds 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API-keys feature, or the key does not have the required scope.
A shipping method with that name already exists for this account.
The unique ID of the shipping method.
The name of the shipping method.
Indicates if the shipping method is active or inactive.