Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ups access point delivery article #296

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,24 @@ <h4 id="ship-webservice---access-point-delivery" class="text-blue">
<code><em>to</em></code> attribute
</li>
<li>
you have to provide the exact address of the UPS access point using the
<code><em>drop_off_point</em></code> attribute
<code><em>to.first_name</em></code> is manadatory
</li>
<li>
the attribute <code><em>drop_off_point.type</em></code> has to be
<code><em>parcel_shop</em></code>
<code><em>to.last_name</em></code> is manadatory
</li>
<li>
<code><em>to.email</em></code> is manadatory
</li>
<li>
you also have to use the additional service
<code><em>ups_access_point_notification</em></code>
(<a data-controller="toggle-element"
data-target="#ship_webservice_access_point_delivery_togglebox" aria-expanded="false"
aria-controls="collapseExample" class="cursor-pointer">see example</a>)
<code><em>drop_off_point.drop_off_point_id</em></code> is manadatory and has to be 9 characters long (can be determined through our
<a style="white-space: nowrap;" href="{{ site.baseurl }}/swagger-ui/#/default/get_pickup_dropoff_locations">
pudo provider
</a>
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This produces an unwanted whitespace which I do not know how to fix, like this:
(can be determined through our pudo provicer )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you put everything in one line? Would that fix that?

<a style="white-space: nowrap;" href="{{ site.baseurl }}/swagger-ui/#/default/get_pickup_dropoff_locations">pudo provider</a>)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It did fix the problem, thank you.

</li>
<li>
the attribute <code><em>drop_off_point.type</em></code> has to be
<code><em>parcel_shop</em></code>
</li>
</ul>

Expand All @@ -46,50 +51,38 @@ <h4 id="ship-webservice---access-point-delivery" class="text-blue">
{% highlight json %}
{
"from": {
"first_name": "Serge",
"last_name": "Sender",
"company": "Sender Corp.",
"street": "Sender Str.",
"street_no": "99",
"zip_code": "20148",
"city": "Hamburg",
"country": "DE"
"first_name": "Serge",
"last_name": "Sender",
"company": "Sender Corp.",
"street": "Sender Str.",
"street_no": "99",
"zip_code": "20148",
"city": "Hamburg",
"country": "DE"
SteffenHam marked this conversation as resolved.
Show resolved Hide resolved
},
"to": {
"first_name": "Roger",
"last_name": "Receiver",
"street": "Receiver Str.",
"street_no": "1",
"city": "Hamburg",
"zip_code": "20535",
"country": "DE"
},
"drop_off_point": {
"company": "The BlueYellowShirts Store",
"street": "Drop Off Str.",
"street_no": "1",
"city": "Hamburg",
"zip_code": "20457",
"country": "DE",
"type": "parcel_shop"
"first_name": "Roger",
"last_name": "Receiver",
"street": "Receiver Str.",
"street_no": "1",
"city": "Hamburg",
"zip_code": "20535",
"country": "DE",
"email": "receiver@mail.com",
"phone": "015112345678",
"drop_off_point": {
"drop_off_point_id": "2760095246",
"type": "parcel_shop"
}
},
"package": {
"weight": 0.5,
"length": 20,
"width": 15,
"height": 5,
"type": "parcel"
"weight": 0.5,
"length": 20,
"width": 15,
"height": 5,
"type": "parcel"
},
"additional_services": [
{
"name": "ups_access_point_notification",
"properties": {
"email": "roger@receiver.inc",
"language": "DE"
}
}
],
"carrier": "{{page.carrier}}",
"carrier": "ups",
"service": "standard",
"create_shipping_label": true
}
Expand Down