Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Posts the warehouse.

Body Params

The warehouse.

string | null

Gets or sets the name.

boolean

Gets or sets a value indicating whether this instance is active.

boolean

Gets or sets a value indicating whether this instance is primary.

int32

Gets or sets the sort order.

string | null

Gets or sets the code.

int32

Gets or sets the fulfillment priority order.

boolean

Gets or sets a value indicating whether this instance is fulfillment center.

boolean

Gets or sets a value indicating whether this instance is pickup location.

boolean

Gets or sets a value indicating whether this instance is delivery location.

string | null

Gets or sets the first name.

string | null

Gets or sets the last name.

string | null

Gets or sets the organization.

string | null

Gets or sets the line1.

string | null

Gets or sets the line2.

string | null

Gets or sets the city.

string | null

Gets or sets the state.

string | null

Gets or sets the country code.

string | null

Gets or sets the name of the country.

string | null

Gets or sets the postal code.

string | null

Gets or sets the region code.

string | null

Gets or sets the name of the region.

string | null

Gets or sets the daytime phone number.

string | null

Gets or sets the evening phone number.

string | null

Gets or sets the fax number.

string | null

Gets or sets the email.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

If the warehouse model is not valid.

401

If user does not have enough permission for this request.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json