Skip to content

Commit

Permalink
Fix learn.customer.io links in readme (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
glosier authored Sep 17, 2024
1 parent 33e486e commit bfc6707
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ values for that field.

You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.

See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Creating_or_updating_customers)
See original REST documentation [here](http://customer.io/docs/api/track/#operation/identify)

### Track a custom event

Expand All @@ -69,7 +69,7 @@ cio.track(customer_id="5", name='purchased', price=23.45, product="widget")

You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.

See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Track_a_custom_event)
See original REST documentation [here](http://customer.io/docs/api/track/#operation/track)

### Backfill a custom event

Expand All @@ -94,7 +94,7 @@ Event timestamp may be passed as a ```datetime.datetime``` object, an integer or

Keyword arguments to backfill work the same as a call to ```cio.track```.

See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Track_a_custom_event)
See original REST documentation [here](http://customer.io/docs/api/track/#operation/track)

### Track an anonymous event

Expand All @@ -106,7 +106,7 @@ An anonymous event is an event associated with a person you haven't identified.

#### Anonymous invite events

If you previously sent [invite events](https://customer.io/docs/anonymous-invite-emails/), you can achieve the same functionality by sending an anonymous event with the anonymous identifier set to `None`. To send anonymous invites, your event *must* include a `recipient` attribute.
If you previously sent [invite events](https://customer.io/docs/journeys/anonymous-invite-emails/), you can achieve the same functionality by sending an anonymous event with the anonymous identifier set to `None`. To send anonymous invites, your event *must* include a `recipient` attribute.

```python
cio.track_anonymous(anonymous_id=None, name="invite", first_name="alex", recipient="alex.person@example.com")
Expand All @@ -121,7 +121,7 @@ Deletes the customer profile for a specified customer.

This method returns nothing. Attempts to delete non-existent customers will not raise any errors.

See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Deleting_customers)
See original REST documentation [here](https://customer.io/docs/api/track/#operation/delete)


You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.
Expand Down Expand Up @@ -174,7 +174,7 @@ cio.suppress(customer_id="1")

Suppresses the specified customer. They will be deleted from Customer.io, and we will ignore all further attempts to identify or track activity for the suppressed customer ID

See REST documentation [here](https://learn.customer.io/api/#apisuppress_add)
See REST documentation [here](https://customer.io/docs/api/track/#operation/suppress)

### Unsuppress a customer
```python
Expand All @@ -183,11 +183,11 @@ cio.unsuppress(customer_id="1")

Unsuppresses the specified customer. We will remove the supplied id from our suppression list and start accepting new identify and track calls for the customer as normal

See REST documentation [here](https://learn.customer.io/api/#apisuppress_delete)
See REST documentation [here](https://customer.io/docs/api/track/#operation/unsuppress)

### Send Transactional Messages

To use the [Transactional API](https://customer.io/docs/transactional-api), instantiate the Customer.io object using an [app key](https://customer.io/docs/managing-credentials#app-api-keys) and create a request object for your message type.
To use the [Transactional API](https://customer.io/docs/journeys/transactional-api), instantiate the Customer.io object using an [app key](https://customer.io/docs/managing-credentials#app-api-keys) and create a request object for your message type.

## Email

Expand All @@ -198,7 +198,7 @@ SendEmailRequest requires:
* a `message_data` object containing properties that you want reference in your message using Liquid.
* You can also send attachments with your message. Use `attach` to encode attachments.

Use `send_email` referencing your request to send a transactional message. [Learn more about transactional messages and `SendEmailRequest` properties](https://customer.io/docs/transactional-api).
Use `send_email` referencing your request to send a transactional message. [Learn more about transactional messages and `SendEmailRequest` properties](https://customer.io/docs/journeys/transactional-api).

```python
from customerio import APIClient, Regions, SendEmailRequest
Expand Down Expand Up @@ -235,7 +235,7 @@ SendPushRequest requires:
* `transactional_message_id`: the ID of the transactional push message you want to send.
* an `identifiers` object containing the `id` or `email` of your recipient. If the profile does not exist, Customer.io will create it.

Use `send_push` referencing your request to send a transactional message. [Learn more about transactional messages and `SendPushRequest` properties](https://customer.io/docs/transactional-api).
Use `send_push` referencing your request to send a transactional message. [Learn more about transactional messages and `SendPushRequest` properties](https://customer.io/docs/journeys/transactional-api).

```python
from customerio import APIClient, Regions, SendPushRequest
Expand Down

0 comments on commit bfc6707

Please sign in to comment.