CheckoutAddressAssociate

A mutation CheckoutAddressAssociate permite a seleção de um endereço para o checkout.

Exemplo

mutation($customerAccessToken: String!, $addressId: ID!, $checkoutId: Uuid!) {
  checkoutAddressAssociate(
    customerAccessToken: $customerAccessToken
    addressId: $addressId
    checkoutId: $checkoutId
  ) {
    cep
    checkoutId
    url
    updateDate
  }
}
Mostrar resposta
{
  "data": {
    "checkoutAddressAssociate": {
      "cep": 5707001,
      "checkoutId": "a698440a-0a11-444f-9af8-20b6bcb2e101",
      "url": "https://lojacss.checkout.fbits.store/a698440a-0a11-444f-9af8-20b6bcb2e101",
      "updateDate": "2023-05-11T17:48:37.423-03:00"
    }
  }
}