Partner API Documentation Help

Get delivery price by zipcode

Authentication

This method does not require authentication.

Summary

Get price for delivery and visit depending on store and customer postcode.

Description

This API method retrieves the prices for delivery and visit for assembly only from the store where order was created to the customer's postcode. Also it returns destination in km.

Query Parameters

name

type

data type

default

description

store_id

required

string

N/A

store id

zipcode

required

string

N/A

customer's post code (see Find postcode)

Response

The response data is an object with the following properties:

delivery_price: integer

Price for delivery only from the store to the customer's address.

visit_price: integer

Price for assembly only from the store to the customer's address.

distance: double

Distance in km from the store to the customer's address.

Good Response example

{ "status": "ok", "statusCode": 200, "data": { "delivery_price": 10, "visit_price": 0, "distance": 0.819 } }

Bad Response Examples

http code

response example

422

see 422 ValidationError

Last modified: 09 February 2024