Pickup Locations

Create a Location.

Changed on

The body is not wrapped in a location object. postal, region and municipality are also required for countries that use them.

post/locations.json

Request

  • Base URL
    https://api.jumpseller.com/v1
  • URL
    https://api.jumpseller.com/v1/locations.json
  • Auth
    • HTTP basic
    • or API key in query parameter login and API key in query parameter authtoken
    • or OAuth 2
      Authorization code: https://accounts.jumpseller.com/oauth/authorize
      Token URL: https://accounts.jumpseller.com/oauth/token scopes: write_locations

Request body

namestring required

Name of the location

emailstring required

Email for the location

mainboolean required

Is the main location

pickup_pointboolean required

Is a pickup point

is_stock_originboolean

Is a stock origin

addressstring required

Street address of the Location

complementstring

Address complement

citystring required

City of the Location

postalstring

Postal code of the Location

countrystring required

Country code of the Location (ISO 3166-1 alpha-2)

regionstring

Region code of the Location

municipalitystring

Municipality code of the Location

latitudenumber float

Latitude of the Location

longitudenumber float

Longitude of the Location

Response

OK

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • warning

      removed the request property

    • info

      the security scope write_locations was added to the endpoint's security scheme OAuth2

    • info

      the security scope write_store was removed from the endpoint's security scheme OAuth2

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status