Skip to content

schedule a pickup for shipment#30

Draft
JustShah wants to merge 1 commit into
1-0-feature-branchfrom
add-schedule-pickup
Draft

schedule a pickup for shipment#30
JustShah wants to merge 1 commit into
1-0-feature-branchfrom
add-schedule-pickup

Conversation

@JustShah

Copy link
Copy Markdown
  • Schedule Pickup with the cheapest pickup rate
  • Update Order metadata accordingly
  • add test case when the shipping method for the shipment is not set to schedule pickup

The EasyPost pickup is created with pickup_rates using which it is purchased. When the pickup is initially added, it is in unknown state.
When pickup is purchased with EasyPost buy pickup API using carrier and service, the state is moved to scheduled.

The proposed modification aims to purchase the newly added pickup with the cheapest pickup rate, adds pickup information to metadata.
The new test case verifies the working when the shipping_method is not scheduled for pickups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant