DocsAPI ReferenceCart/api/v1/cart/set-packeta-branch
postCartPublic API v1

/api/v1/cart/set-packeta-branch

Sets the Packeta pickup point for the cart. Only applicable when delivery method is Packeta.

cartpostApiV1CartSet-packeta-branch

Parameters

1 query · 2 body

3 total
Query · 1
apiKeystringRequired

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

Body · 2
cartIdstringRequired
packetaBranchIdnumberRequired

Packeta pickup point branch ID.

Request

POST /api/v1/cart/set-packeta-branch

post
curl -X POST "https://api.bizkithub.com/api/v1/cart/set-packeta-branch?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "cartId": "b411056d304d9y6mHe2SoMFBL2Apxfnb",
  "packetaBranchId": 12345
}'

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key