An object with details about the user who created the Transaction (purchased the label). A value will be returned only for Transactions that can be associated with a specific user, e.g. when a logged-in user purchases a label via the Shippo Web application; but not for Transactions purchased e.g. via the API using a ShippoToken, which is associated with the account but not any specific user.
import { CreatedBy } from "shippo/models/components";
let value: CreatedBy = {
firstName: "Shwan",
lastName: "Ippotle",
username: "shippotle@shippo.com",
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
firstName |
string | ➖ | N/A | Shwan |
lastName |
string | ➖ | N/A | Ippotle |
username |
string | ➖ | N/A | shippotle@shippo.com |