postCouriersPickupPoints

Operation Id:
couriers/pickupPoints/post [Official Documentaction]
Methods

  • pickupPoints Array<Object>
  • pickupPointExternalId String
  • courierId Integer
  • descriptions Array<Object>
  • paymentForms Array<String>
  • serviceStatus 'out_of_service'|'available'
  • address Object
  • coordinates Object
  • operatingDays Array<Object>
Examples

This function updates the pickup point's courier ID, external ID, address, and coordinates information.

const result = await idosellRequest.postCouriersPickupPoints
	.pickupPointExternalId("abc")
	.courierId(100105)
	.pickupPointExternalId("abcdefg")
	.address({"street": "Grzybowska","city": "Warsaw","zipCode": "00-844"})
	.coordinates({"longitude": 20.12,"latitude": 20.12})
	.exec()