Snippets Collections
curl --location --request GET 'api.hived.space/user/login' \
--header 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
--data-raw ''
curl --location --request POST 'api.hived.space/shipment' \
--header 'token: YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "tracking_id": "123456789ABCDEFGHIJ1",
  "consignment_id": "123456789ABCDEFGHIJ",
  "recipient": "Jane Doe",
  "recipient_address_line_1": "Flat 1",
  "recipient_address_line_2": "10 Downing Street",
  "recipient_address_line_3": "Westminster",
  "recipient_town": "London",
  "recipient_postcode": "SW1A 2AA",
  "recipient_email_address": "jane@gmail.com",
  "recipient_phone_number": "0987456321",
  "delivery_instructions": "Leave with neighbour",
  "sender": "John Doe",
  "sender_address_line_1": "Flat 2",
  "sender_address_line_2": "1 Buckingham Palace Road",
  "sender_address_line_3": "Buckingham Palace",
  "sender_town": "London",
  "sender_postcode": "SW1A 1AA",
  "sender_email_address": "john@gmail.com",
  "account_number": 1,
  "order_number": "#1009",
  "shipping_class": "Next-Day",
  "parcel_count": 3,
  "parcel_index": 1,
  "weight_kg": 1.5,
  "length_cm": 30,
  "width_cm": 30,
  "height_cm": 30,
  "fragile": false,
  "value_gbp": 119.90,
  "age_verification_required": true,
  "collection_contact_name": "Jimmy Doe",
  "collection_address_line_1": "1 Parliament Square",
  "collection_address_line_2": "Big Ben",
  "collection_address_line_3": "Palace of Westminster",
  "collection_town": "London",
  "collection_postcode": "SW1A 0AA",
  "collection_instructions": "Ring doorbell please",
  "collection_phone_number": "01234567489",
  "collection_email_address": "jimmy@gmail.com",
  "sender_chosen_collection_date": "2022-06-28",
  "sender_chosen_delivery_date": "2022-06-29",
  "sku": "123456789"
}'
star

Wed Jul 20 2022 14:19:06 GMT+0000 (Coordinated Universal Time)

#api #shipment
star

Wed Jul 20 2022 13:52:54 GMT+0000 (Coordinated Universal Time)

#api #shipment #authentication
star

Wed Apr 27 2022 11:16:38 GMT+0000 (Coordinated Universal Time)

#api #shipment

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension