Pickup Locations

Update a Location.

Changed on

The body is not wrapped in a location object. All fields except is_stock_origin, latitude and longitude are overwritten, so send the full Location.

put/locations/{id}.json

Request

  • Base URL
    https://api.jumpseller.com/v1
  • URL
    https://api.jumpseller.com/v1/locations/{id}.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

Path parameters

idinteger required

Id of the location

Request body

namestring required

Name of the location

emailstring required

Email for the location

descriptionstring

Description of the location

instructionsstring

Pickup instructions

pickup_pointboolean

Is a pickup point

is_stock_originboolean

Is a stock origin. Kept as is when omitted.

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

    • warning

      removed the request property

    • 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 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

    • info

      added the non-success response with the status